File tree Expand file tree Collapse file tree 2 files changed +88
-0
lines changed
Expand file tree Collapse file tree 2 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ &st
2+ &dch -r
3+ &nf
4+ &st
5+ &syn2
6+ &if -g -K 6
7+ &synch2 -r
8+ &nf
9+ &st
10+ &syn2
11+ &if -g -K 6
12+ &synch2 -r
13+ &nf
14+ &st
15+ &syn2
16+ &if -g -K 6
17+ &synch2 -r
18+ &nf
19+ &st
20+ &syn2
21+ &if -g -K 6
22+ &synch2 -r
23+ &nf
24+ &st
25+ &syn2
26+ &if -g -K 6
27+ &synch2 -r
28+ &nf
Original file line number Diff line number Diff line change 1+ read_rtlil <<EOF
2+
3+ # Generated by Yosys 0.53+98 (git sha1 780b12271, g++ 15.1.1 -fPIC -O3)
4+ autoidx 30
5+ attribute \top 1
6+ attribute \src "top.v:1.1-21.10"
7+ module \top
8+ attribute \src "top.v:7.15-7.18"
9+ wire output 1 \led
10+ attribute \src "top.v:9.8-9.9"
11+ wire \w
12+ attribute \src "top.v:20.16-20.18"
13+ cell $not $not$top.v:20$1
14+ parameter \A_SIGNED 0
15+ parameter \A_WIDTH 1
16+ parameter \Y_WIDTH 1
17+ connect \A \w
18+ connect \Y \led
19+ end
20+ attribute \module_not_derived 1
21+ attribute \src "top.v:10.10-18.4"
22+ cell \CC_MX4 \mux
23+ connect \D0 1'x
24+ connect \D1 1'x
25+ connect \D2 1'x
26+ connect \D3 { }
27+ connect \S0 1'x
28+ connect \S1 1'x
29+ connect \Y \w
30+ end
31+ end
32+
33+ EOF
34+
35+ read_verilog -lib -specify <<EOF
36+
37+ (* abc9_box, lib_whitebox *)
38+ module CC_MX4 (
39+ input D0, D1, D2, D3,
40+ input S0, S1,
41+ output Y
42+ );
43+ specify
44+ (D0 => Y) = 453;
45+ (D1 => Y) = 449;
46+ (D2 => Y) = 488;
47+ (D3 => Y) = 484;
48+ (S0 => Y) = 422;
49+ (S1 => Y) = 385;
50+ endspecify
51+
52+ assign Y = S1 ? (S0 ? D3 : D2) :
53+ (S0 ? D1 : D0);
54+
55+ endmodule
56+
57+ EOF
58+
59+ logger -expect error "Malformed design" 1
60+ abc_new -script abc_speed_gia_only.script -liberty ../../tests/liberty/normal.lib -liberty ../../tests/liberty/dff.lib
You can’t perform that action at this time.
0 commit comments