Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yosys-tests
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yosys-tests
Commits
8f9dc1d9
Commit
8f9dc1d9
authored
Nov 15, 2019
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix regressions in tests
parent
bfed9d0c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
15 deletions
+20
-15
architecture/synth_ice40/synth_ice40_nobram.ys
+1
-1
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_asym_ram_tdp_write_first.ys
+7
-7
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_fsm_1.ys
+11
-6
regression/issue_00705/issue_00705.pat
+1
-1
No files found.
architecture/synth_ice40/synth_ice40_nobram.ys
View file @
8f9dc1d9
...
@@ -33,5 +33,5 @@ cd top
...
@@ -33,5 +33,5 @@ cd top
select -assert-count 6 t:SB_DFF
select -assert-count 6 t:SB_DFF
select -assert-count 384 t:SB_DFFE
select -assert-count 384 t:SB_DFFE
select -assert-count 3
68
t:SB_LUT4
select -assert-count 3
77
t:SB_LUT4
select -assert-none t:SB_DFF t:SB_DFFE t:SB_LUT4 %% t:* %D
select -assert-none t:SB_DFF t:SB_DFFE t:SB_LUT4 %% t:* %D
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_asym_ram_tdp_write_first.ys
View file @
8f9dc1d9
...
@@ -17,13 +17,13 @@ stat
...
@@ -17,13 +17,13 @@ stat
#Vivado synthesizes 1 RAMB18E1.
#Vivado synthesizes 1 RAMB18E1.
select -assert-count 2 t:BUFG
select -assert-count 2 t:BUFG
select -assert-count 200 t:FDRE
select -assert-count 200 t:FDRE
select -assert-count 1
0
t:LUT2
select -assert-count 1
5
t:LUT2
select -assert-count
4
4 t:LUT3
select -assert-count
6
4 t:LUT3
select -assert-count
81
t:LUT4
select -assert-count
4
t:LUT4
select -assert-count
104
t:LUT5
select -assert-count
91
t:LUT5
select -assert-count
560
t:LUT6
select -assert-count
719
t:LUT6
select -assert-count
261
t:MUXF7
select -assert-count
328
t:MUXF7
select -assert-count 1
27
t:MUXF8
select -assert-count 1
48
t:MUXF8
select -assert-none t:BUFG t:FDRE t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:MUXF8 %% t:* %D
select -assert-none t:BUFG t:FDRE t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:MUXF8 %% t:* %D
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_fsm_1.ys
View file @
8f9dc1d9
...
@@ -2,15 +2,20 @@ read_verilog ../fsm_1.v
...
@@ -2,15 +2,20 @@ read_verilog ../fsm_1.v
hierarchy -top fsm_1
hierarchy -top fsm_1
proc
proc
flatten
flatten
equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx # equivalency check
equiv_opt -run :prove -map +/xilinx/cells_sim.v synth_xilinx
miter -equiv -make_assert -flatten gold gate miter
sat -verify -prove-asserts -show-public -set-at 1 in_reset 1 -seq 20 -prove-skip 1 miter
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd fsm_1 # Constrain all select calls below inside the top module
cd fsm_1 # Constrain all select calls below inside the top module
#Vivado synthesizes 2 LUT5, 2 LUT4, 1 LUT3, 4 FDRE.
#Vivado synthesizes 2 LUT5, 2 LUT4, 1 LUT3, 4 FDRE.
stat
stat
select -assert-count 1 t:BUFG
select -assert-count 1 t:BUFG
select -assert-count 4 t:FDRE
select -assert-count 6 t:FDRE
select -assert-count 2 t:LUT4
select -assert-count 2 t:LUT2
select -assert-count 2 t:LUT5
select -assert-count 3 t:LUT3
select -assert-count 1 t:LUT6
select -assert-count 4 t:LUT6
select -assert-count 2 t:MUXF7
select -assert-count 1 t:MUXF8
select -assert-none t:BUFG t:FDRE t:LUT
4 t:LUT5 t:LUT6
%% t:* %D
select -assert-none t:BUFG t:FDRE t:LUT
2 t:LUT3 t:LUT6 t:MUXF7 t:MUXF8
%% t:* %D
regression/issue_00705/issue_00705.pat
View file @
8f9dc1d9
.MASK({ _
18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18_, _18
_ }),
.MASK({ _
2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2_, _2
_ }),
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment