You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current output of gen_ipbus_addr_decode script for this address table:
main ERROR: Non-aligned base address detected: csr 0x43 0x1
main ERROR: Non-aligned base address detected: xpoint 0x57 0x2
main ERROR: ERROR: Non Aligned address 0b00000000000000000000000001000011 with respect to address bit mask 0b00000000000000000000000000000001
main ERROR: ERROR: Non Aligned address 0b00000000000000000000000001010111 with respect to address bit mask 0b00000000000000000000000000000011
VHDL decode file saved: ipbus_decode_addr_table.vhd
... gen_ipbus_addr_decode now returns with exit code 3 before writing the VHDL file, and produces the following output:
[developer@e4f2df29fc74 build]$ gen_ipbus_addr_decode addr_table_bad3.xml
main ERROR: Node 'csr' at 0x43: Width, 0x1, produces address mask 0x2 that is not aligned with node's base address
main ERROR: Node 'xpoint' at 0x57: Width, 0x2, produces address mask 0x4 that is not aligned with node's base address
main ERROR: Node errors detected (e.g. non-aligned addresses, or address overlaps); exiting early before writing output
If the
gen_ipbus_addr_decode
script detects either of the following errors:2^width
)... it will print corresponding error messages, but it currently still produces an exit code of 0.
Instead, if these errors are detected, the script should finish with an non-zero exit code, before writing the VHDL output file.
The text was updated successfully, but these errors were encountered: