mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 15:08:39 +00:00
Fix bug in bus-width of amba3ahblite-widget's instantiation
This commit is contained in:
parent
ace4238ccf
commit
57d8050d56
@ -270,7 +270,7 @@ class AddrMap(Component):
|
|||||||
|
|
||||||
return self.process_yaml(
|
return self.process_yaml(
|
||||||
self.widget_templ_dict['module_instantiation'],
|
self.widget_templ_dict['module_instantiation'],
|
||||||
{'bus_width': self.regwidth-1}
|
{'bus_width': self.regwidth}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ module_instantiation:
|
|||||||
- name: 'HTRANS'
|
- name: 'HTRANS'
|
||||||
signal_type: '[1:0]'
|
signal_type: '[1:0]'
|
||||||
- name: 'HWDATA'
|
- name: 'HWDATA'
|
||||||
signal_type: '[{bus_width}:0]'
|
signal_type: '[{bus_width}-1:0]'
|
||||||
- name: 'HSEL'
|
- name: 'HSEL'
|
||||||
signal_type: ''
|
signal_type: ''
|
||||||
output_ports:
|
output_ports:
|
||||||
@ -65,4 +65,4 @@ module_instantiation:
|
|||||||
- name: 'HRESP'
|
- name: 'HRESP'
|
||||||
signal_type: ''
|
signal_type: ''
|
||||||
- name: 'HRDATA'
|
- name: 'HRDATA'
|
||||||
signal_type: '[{bus_width}:0]'
|
signal_type: '[{bus_width}-1:0]'
|
||||||
|
Loading…
Reference in New Issue
Block a user