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
9059c863
Commit
9059c863
authored
Mar 15, 2019
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More stable naming
parent
fdaf7677
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
5 deletions
+5
-5
architecture/synth_xilinx_srl/test1.ys
+0
-0
architecture/synth_xilinx_srl/test10.ys
+0
-0
architecture/synth_xilinx_srl/test6.ys
+0
-0
architecture/synth_xilinx_srl/test7.ys
+2
-2
architecture/synth_xilinx_srl/test8.ys
+1
-1
architecture/synth_xilinx_srl/test9.ys
+1
-1
architecture/synth_xilinx_srl/top.v
+1
-1
No files found.
architecture/synth_xilinx_srl/test1.ys
View file @
9059c863
This diff is collapsed.
Click to expand it.
architecture/synth_xilinx_srl/test10.ys
View file @
9059c863
This diff is collapsed.
Click to expand it.
architecture/synth_xilinx_srl/test6.ys
View file @
9059c863
This diff is collapsed.
Click to expand it.
architecture/synth_xilinx_srl/test7.ys
View file @
9059c863
...
@@ -5,5 +5,5 @@ clean -purge
...
@@ -5,5 +5,5 @@ clean -purge
write_verilog synth7.v
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
$paramod\shift_reg\depth=131\er_is_reset=1
; 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
$paramod\shift_reg\depth=131\inferred=1\init=1\neg_clk=1\er_is_reset=1
; 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
architecture/synth_xilinx_srl/test8.ys
View file @
9059c863
...
@@ -5,4 +5,4 @@ clean -purge
...
@@ -5,4 +5,4 @@ clean -purge
write_verilog synth8.v
write_verilog synth8.v
# Check that wide shift registers are not a problem
# Check that wide shift registers are not a problem
cd
$paramod\shift_reg\width=131\depth=131
; select t:FD* -assert-count 0
cd
synth; cd pos_clk_no_enable_no_init_not_inferred_N_width
; select t:FD* -assert-count 0
architecture/synth_xilinx_srl/test9.ys
View file @
9059c863
...
@@ -5,4 +5,4 @@ clean -purge
...
@@ -5,4 +5,4 @@ clean -purge
write_verilog synth9.v
write_verilog synth9.v
# Check that wide shift registers are not a problem
# Check that wide shift registers are not a problem
cd
$paramod\shift_reg\width=131\depth=131\inferred=1\init=1\neg_clk=1
; select t:FD* -assert-count 0
cd
synth; cd neg_clk_no_enable_with_init_with_inferred_N_width
; select t:FD* -assert-count 0
architecture/synth_xilinx_srl/top.v
View file @
9059c863
...
@@ -42,7 +42,7 @@ generate
...
@@ -42,7 +42,7 @@ generate
(
*
keep
*
)
(
*
keep
*
)
shift_reg
#(
.
depth
(
`N
)
,
.
width
(
`N
)
,
.
neg_clk
(
1
)
,
.
inferred
(
1
)
,
.
init
(
1
))
neg_clk_no_enable_with_init_with_inferred_N_width
(
clk
,
a
,
r
,
/*l*/
,
z
)
;
shift_reg
#(
.
depth
(
`N
)
,
.
width
(
`N
)
,
.
neg_clk
(
1
)
,
.
inferred
(
1
)
,
.
init
(
1
))
neg_clk_no_enable_with_init_with_inferred_N_width
(
clk
,
a
,
r
,
/*l*/
,
z
)
;
`elsif
TEST10
`elsif
TEST10
for
(
i
=
1
;
i
<
`N
;
i
=
i
+
1
)
begin
:
neg_clk_with_enable_with_init_inferred
for
(
i
=
1
;
i
<
`N
;
i
=
i
+
1
)
begin
:
neg_clk_with_enable_with_init_inferred
_var_len
shift_reg
#(
.
depth
(
i
+
1
)
,
.
fixed_length
(
0
))
sr
(
clk
,
a
[
i
]
,
1'b1
,
l
[$
clog2
(
i
+
1
)
-
1
:
0
]
,
z
[
i
])
;
shift_reg
#(
.
depth
(
i
+
1
)
,
.
fixed_length
(
0
))
sr
(
clk
,
a
[
i
]
,
1'b1
,
l
[$
clog2
(
i
+
1
)
-
1
:
0
]
,
z
[
i
])
;
end
end
assign
z
[
0
]
=
'b0
;
// Suppress no driver warning
assign
z
[
0
]
=
'b0
;
// Suppress no driver warning
...
...
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