Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ArGen
ArGen
Commits
a356316d
Commit
a356316d
authored
Mar 08, 2021
by
Théotime BOLLENGIER
Browse files
fix signature
parent
a26c4083
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/argen/hdl_arch_writer.rb
View file @
a356316d
...
...
@@ -122,7 +122,7 @@ module ArGen
if
@wrapperWithInterrupt
then
'1'
else
'0'
end
,
(
@wrapper_archFileSHA1
&
0x7ff
).
to_s
(
2
).
rjust
(
11
,
'0'
),
(
@bitstream_size
+
Math
.
log2
(
@vFpgaNbIoPins
+
1
).
ceil
*
@vFpgaNbIoPins
*
2
).
to_s
(
2
).
rjust
(
23
,
'0'
),
(
@bitstream_size
+
(
@withIOReorderingRing
?
(
Math
.
log2
(
@vFpgaNbIoPins
+
1
).
ceil
*
@vFpgaNbIoPins
*
2
)
:
0
))
.
to_s
(
2
).
rjust
(
23
,
'0'
),
@vFpgaNbIoPins
.
to_s
(
2
).
rjust
(
9
,
'0'
),
(
@archParams
[
:layoutWidth
]).
to_s
(
2
).
rjust
(
7
,
'0'
),
...
...
share/hdl_templates/IP_template.vhd
View file @
a356316d
...
...
@@ -1245,25 +1245,5 @@ end Behavioral;
-- Full signature --
--
-- <%=
[
if
@
wrapperWithDMA
then
@
wrapperDmaWordWidth
.
to_s
(
2
)
.
rjust
(
6
,
'0'
)
else
'
000000
'
end
,
if
@
wrapperWithMemAccess
then
@
wrapperMemWordWidth
.
to_s
(
2
)
.
rjust
(
6
,
'0'
)
else
'
000000
'
end
,
if
@
wrapperWithMemAccess
then
@
wrapperMemAddrWidth
.
to_s
(
2
)
.
rjust
(
6
,
'0'
)
else
'
000000
'
end
,
if
@
wrapperWithDMA
then
'1'
else
'0'
end
,
if
@
wrapperWithMemAccess
then
'1'
else
'0'
end
,
if
@
wrapperWithInterrupt
then
'1'
else
'0'
end
,
(
@
wrapper_archFileSHA1
&
0
x7ff
)
.
to_s
(
2
)
.
rjust
(
11
,
'0'
),
(
@
bitstream_size
+
Math
.
log2
(
@
vFpgaNbIoPins
+
1
)
.
ceil
*@
vFpgaNbIoPins
*
2
)
.
to_s
(
2
)
.
rjust
(
23
,
'0'
),
@
vFpgaNbIoPins
.
to_s
(
2
)
.
rjust
(
9
,
'0'
),
(
@
archParams
[
:
layoutWidth
]
)
.
to_s
(
2
)
.
rjust
(
7
,
'0'
),
(
@
archParams
[
:
layoutHeight
]
)
.
to_s
(
2
)
.
rjust
(
7
,
'0'
),
(
@
archParams
[
:
routChanWidth
]
)
.
to_s
(
2
)
.
rjust
(
6
,
'0'
),
@
clbs
[
0
]
.
nbBLEs
.
to_s
(
2
)
.
rjust
(
4
,
'0'
),
@
clbs
[
0
]
.
nbInputs
.
to_s
(
2
)
.
rjust
(
4
,
'0'
),
@
clbs
[
0
]
.
k
.
to_s
(
2
)
.
rjust
(
4
,
'0'
)
]
.
reverse
.
join
.
to_i
(
2
)
.
to_s
(
16
)
.
rjust
(
24
,
'0'
)
%
>
-- <%= get_signature() %>
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