lkolbly / ripstop

Apache License 2.0
0 stars 0 forks source link

Put variable declarations before all usages #31

Open lkolbly opened 2 years ago

lkolbly commented 2 years ago

Xilinx (and probably iverilog) issue warnings if a variable is used before it's declared.

It doesn't appear to be a functional issue, but best to not have such warnings.

lkolbly commented 1 year ago

Actually, as an extension, we should probably put all module instantiations before they're used also.

Bobxcat commented 4 months ago

Agreed