projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ffec2
)
Add constant expression attribute to test
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 29 Aug 2019 16:10:20 +0000
(09:10 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 29 Aug 2019 16:10:20 +0000
(09:10 -0700)
tests/various/hierarchy_defer.ys
patch
|
blob
|
history
diff --git
a/tests/various/hierarchy_defer.ys
b/tests/various/hierarchy_defer.ys
index 170bb8c5fb148eb2d1c9868082c16abd91e49185..0bf4de44e858be14897c13cba1a54d1e7387ce07 100644
(file)
--- a/
tests/various/hierarchy_defer.ys
+++ b/
tests/various/hierarchy_defer.ys
@@
-7,6
+7,7
@@
module top(input i, output o);
sub s0(i, o);
endmodule
+(* constant_expression=1+1?2*2:3/3 *)
module sub(input i, output o);
assign o = ~i;
endmodule