We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLaSH version: 949a05a
The following CLaSH source code produces no scoping errors from clash:
clash
import Clash.Prelude {-# NOINLINE topEntity #-} {-# ANN topEntity (Synthesize { t_name = "Bug" , t_inputs = [ PortName "CLK_50MHZ" , PortName "RESET" ] , t_output = PortName "LED" }) #-} topEntity :: Clock System Source -> Reset System Asynchronous -> Signal System Bit topEntity = exposeClockReset board where board = boolToBit <$> led led = register True $ complement <$> led
However, the VHDL generated from it has a name clash between the port name LED and the code generated for the locally bound variable led.
LED
led
The text was updated successfully, but these errors were encountered:
Yes, ha ha, name clash, let's get this out of the way quickly :)
Sorry, something went wrong.
VHDL: signal names should not conflict with port names
efbbecc
Fixes #476
Add test for issue #476
6f8d7ce
No branches or pull requests
CLaSH version: 949a05a
The following CLaSH source code produces no scoping errors from
clash
:However, the VHDL generated from it has a name clash between the port name
LED
and the code generated for the locally bound variableled
.The text was updated successfully, but these errors were encountered: