mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Ensure signed constants are correctly parsed, represented, and exported in RTLIL. Add a test to check parsing and exporting
This commit is contained in:
committed by
Catherine
parent
4cddc19994
commit
91e3773b51
@@ -0,0 +1,10 @@
|
||||
! mkdir -p temp
|
||||
read_rtlil <<EOT
|
||||
module \test
|
||||
attribute \bottom_bound 3's101
|
||||
wire width 3 output 1 \a
|
||||
connect \a 3'001
|
||||
end
|
||||
EOT
|
||||
write_rtlil temp/rtlil_signed_attribute.il
|
||||
! grep -F -q "attribute \bottom_bound 3's101" temp/rtlil_signed_attribute.il
|
||||
Reference in New Issue
Block a user