Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Range type in VHDL?

Status
Not open for further replies.

bmcculla

New Member
I was wondering if there is a way to specify a range constant in VHDL?

I'm trying to make a generic microcontroller memory bus interface. I want to be able to change the data width and address width easily. To support bigendian and little endian processors I need to be able to pass a range as a generic into entities (support (7 downto 0) and (0 to 7)). It would be nice just to be able to pass the whole range in as a constant. anyone have ideas about how to do this?

Thanks
Brent
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top