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
9192e08d
Commit
9192e08d
authored
Mar 19, 2019
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix synth
parent
1dd4e48c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
architecture/synth_xilinx_srl/test7.ys
+2
-0
architecture/synth_xilinx_srl/top.v
+2
-4
No files found.
architecture/synth_xilinx_srl/test7.ys
View file @
9192e08d
...
@@ -7,3 +7,5 @@ write_verilog synth7.v
...
@@ -7,3 +7,5 @@ write_verilog synth7.v
# Check that shift registers with resets are not inferred into SRLs
# Check that shift registers with resets are not inferred into SRLs
cd synth; cd pos_clk_no_enable_no_init_not_inferred_with_reset; select t:SRL* -assert-count 0
cd synth; cd pos_clk_no_enable_no_init_not_inferred_with_reset; select t:SRL* -assert-count 0
cd synth; cd neg_clk_no_enable_with_init_with_inferred_with_reset; select t:SRL* -assert-count 0
cd synth; cd neg_clk_no_enable_with_init_with_inferred_with_reset; select t:SRL* -assert-count 0
cd synth; cd pos_clk_no_enable_no_init_not_inferred_with_reset_var_len; select t:SRL* -assert-count 0
cd synth; cd neg_clk_no_enable_with_init_with_inferred_with_reset_var_len; select t:SRL* -assert-count 0
architecture/synth_xilinx_srl/top.v
View file @
9192e08d
...
@@ -30,11 +30,9 @@ generate
...
@@ -30,11 +30,9 @@ generate
`elsif
TEST7
`elsif
TEST7
// Check that use of resets block shreg
// Check that use of resets block shreg
shift_reg
#(
.
depth
(
129
)
,
.
er_is_reset
(
1
))
pos_clk_no_enable_no_init_not_inferred_with_reset
(
clk
,
a
[
1
]
,
r
,
/*l*/
,
z
[
0
]
,
/* state0 */
)
;
shift_reg
#(
.
depth
(
129
)
,
.
er_is_reset
(
1
))
pos_clk_no_enable_no_init_not_inferred_with_reset
(
clk
,
a
[
1
]
,
r
,
/*l*/
,
z
[
0
]
,
/* state0 */
)
;
// FIXME: YosysHQ/yosys#873
shift_reg
#(
.
depth
(
129
)
,
.
neg_clk
(
1
)
,
.
inferred
(
1
)
,
.
init
(
1
)
,
.
er_is_reset
(
1
))
neg_clk_no_enable_with_init_with_inferred_with_reset
(
clk
,
a
[
2
]
,
r
,
/*l*/
,
z
[
1
]
,
/* state0 */
)
;
shift_reg
#(
.
depth
(
129
)
,
.
neg_clk
(
1
)
,
.
inferred
(
1
)
,
.
init
(
1
)
,
.
er_is_reset
(
1
))
neg_clk_no_enable_with_init_with_inferred_with_reset
(
clk
,
a
[
2
]
,
r
,
/*l*/
,
FIXME1
/*z[1]*/
,
/* state0 */
)
;
shift_reg
#(
.
depth
(
128
)
,
.
er_is_reset
(
1
))
pos_clk_no_enable_no_init_not_inferred_with_reset_var_len
(
clk
,
a
[
2
]
,
r
,
l
,
z
[
2
]
,
/* state0 */
)
;
shift_reg
#(
.
depth
(
128
)
,
.
er_is_reset
(
1
))
pos_clk_no_enable_no_init_not_inferred_with_reset_var_len
(
clk
,
a
[
2
]
,
r
,
l
,
z
[
2
]
,
/* state0 */
)
;
// FIXME: YosysHQ/yosys#873
shift_reg
#(
.
depth
(
129
)
,
.
neg_clk
(
1
)
,
.
inferred
(
1
)
,
.
init
(
1
)
,
.
er_is_reset
(
1
))
neg_clk_no_enable_with_init_with_inferred_with_reset_var_len
(
clk
,
a
[
3
]
,
r
,
l
,
z
[
3
]
,
/* state0 */
)
;
shift_reg
#(
.
depth
(
129
)
,
.
neg_clk
(
1
)
,
.
inferred
(
1
)
,
.
init
(
1
)
,
.
er_is_reset
(
1
))
neg_clk_no_enable_with_init_with_inferred_with_reset_var_len
(
clk
,
a
[
3
]
,
r
,
l
,
FIXME2
/*z[3]*/
,
/* state0 */
)
;
assign
z
[
`N
-
1
:
4
]
=
'b0
;
// Suppress no driver warning
assign
z
[
`N
-
1
:
4
]
=
'b0
;
// Suppress no driver warning
`elsif
TEST8
`elsif
TEST8
// Check multi-bit works
// Check multi-bit works
...
...
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