Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VHDL question , How to make 2 architectures for 1 entity ?

Status
Not open for further replies.

drdigital

Junior Member level 3
Joined
Apr 13, 2009
Messages
31
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,288
Activity points
1,525
Hi All,

I want to make 2 architecture for 1 entity , selecting one of them by type of signal. when 1 activate first arch.when 2 activate the second

how can I do this ??

Thanks in advance
 

You can select the between 2 architectures using (configuration) statement.
In general, when you do synthesis you only implement one architecture. What you want to achieve shouldn't be implemented using 2 different architectures .. it's only one architecture and you can switch between your 2 circuits using a simple MUX. If the selector signal is '0' map the input/output ports to circuit-0 .. and when the selector signal is '1', map input/output ports to circuit-1. Still, both circuits are in one architecture. And you can change the MUX selector during the operation of the block/entity.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top