B
Brad Smallridge
Guest
I would like to be able to
quickly change from one
implementation of a module
to another, say from an infered
BRAM to a primitive BRAM.
What I have been doing so far
is to have a wrapper module,
call it BRAM, for example, and
this module instantiates either
a BRAM_inferred or a BRAM_xilinx
depending on what I want.
Changing the wrapper file changes
all my BRAMs in the entire design.
But isn't there a cleaner way of
doing this with something like a
"use" command.
I might also want to select which
modules switch.
I thought multiple implementations
was what VHDL was all about, but,
I haven't found any good examples
in my text books.
Thanks,
Brad Smallridge
AiVision
quickly change from one
implementation of a module
to another, say from an infered
BRAM to a primitive BRAM.
What I have been doing so far
is to have a wrapper module,
call it BRAM, for example, and
this module instantiates either
a BRAM_inferred or a BRAM_xilinx
depending on what I want.
Changing the wrapper file changes
all my BRAMs in the entire design.
But isn't there a cleaner way of
doing this with something like a
"use" command.
I might also want to select which
modules switch.
I thought multiple implementations
was what VHDL was all about, but,
I haven't found any good examples
in my text books.
Thanks,
Brad Smallridge
AiVision