Skip to content

Commit 593809e

Browse files
committed
make it clear imap_go is being generated
1 parent bf3fc7f commit 593809e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clash-lib/prims/verilog/Clash_Sized_Vector.primitives.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@
131131
kind: Declaration
132132
type: 'imap_go :: (Index n -> a -> b) -> Vec m a -> Index n -> Vec m b'
133133
template: |-
134-
// imap begin
134+
// imap_go begin
135135
genvar ~GENSYM[i][1];
136136
~GENERATE
137-
for (~SYM[1]=0; ~SYM[1] < ~LENGTH[~TYPO]; ~SYM[1] = ~SYM[1] + 1) begin : ~GENSYM[imap][2]
137+
for (~SYM[1]=0; ~SYM[1] < ~LENGTH[~TYPO]; ~SYM[1] = ~SYM[1] + 1) begin : ~GENSYM[imap_go][2]
138138
localparam ~GENSYM[vec_index][6] = ~MAXINDEX[~TYPO] - ~SYM[1];
139139
wire ~TYP[2] ~GENSYM[map_index][3];~IF~SIZE[~TYP[1]]~THEN
140140
wire ~TYPEL[~TYP[1]] ~GENSYM[map_in][4];
@@ -150,7 +150,7 @@
150150
assign ~RESULT[~SYM[6]*~SIZE[~TYPEL[~TYPO]]+:~SIZE[~TYPEL[~TYPO]]] = ~SYM[5];
151151
end
152152
~ENDGENERATE
153-
// imap end
153+
// imap_go end
154154
workInfo: Never
155155
- BlackBox:
156156
name: Clash.Sized.Vector.zipWith

0 commit comments

Comments
 (0)