File: bug4909.ys

package info (click to toggle)
yosys 0.52-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 69,796 kB
  • sloc: ansic: 696,955; cpp: 239,736; python: 14,617; yacc: 3,529; sh: 2,175; makefile: 1,945; lex: 697; perl: 445; javascript: 323; tcl: 162; vhdl: 115
file content (44 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
read_rtlil << EOF
autoidx 20
attribute \src "3510.v:2.1-26.10"
attribute \cells_not_processed 1
attribute \tamara_triplicate 1
module \top
  attribute \src "3510.v:14.3-17.8"
  wire width 4 $0\reg5[3:0]
  attribute $bugpoint 1
  wire width 4 $auto$bugpoint.cc:258:simplify_something$12
  wire $delete_wire$14
  attribute \src "3510.v:13.19-13.59"
  wire width 4 $xnor$3510.v:13$1_Y
  attribute \src "3510.v:11.23-11.27"
  wire width 4 \reg5
  attribute \src "3510.v:8.24-8.29"
  wire width 3 \wire4
  attribute \src "3510.v:3.33-3.34"
  wire width 12 output 1 \y
  attribute \src "3510.v:13.19-13.59"
  cell $xnor $xnor$3510.v:13$1
    parameter \A_SIGNED 0
    parameter \A_WIDTH 3
    parameter \B_SIGNED 0
    parameter \B_WIDTH 4
    parameter \Y_WIDTH 4
    connect \A 3'x
    connect \B $auto$bugpoint.cc:258:simplify_something$12
    connect \Y $xnor$3510.v:13$1_Y
  end
  attribute \src "3510.v:14.3-17.8"
  process $proc$3510.v:14$2
    assign $0\reg5[3:0] { \wire4 [2] \wire4 }
    sync posedge $delete_wire$14
      update \reg5 $0\reg5[3:0]
  end
  connect \y [4:0] { \reg5 1'0 }
  connect \wire4 $xnor$3510.v:13$1_Y [2:0]
end
EOF

prep
splitcells