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.
Thanks, most of the devices, like some Ti DSP I've worked, is in big endian only. This is what they used for SPI, other communications...
What is it to have problem with read-order?. In VHDL I find is no trouble in switching between Big\Little endian....
OMG, the code is useless?. I never thought that way. Then I wonder why it has been used in many places....
So even if I pass a value from "downto" to "to", the integer or number wont change?.
Please clarify me, as I am greatly confused....
For eg, this is just for my clarity and the code is no...
Please help me, I have got this file, which they say it converts little to big endian. One module I have gives data in (0 to 33) and another module has (33 downto 0) data type. I've been told that the below code will do the convesion
entity le_2_be is
port (
ARRAY_IN : in...
Also, (-8 to 7) is indexed -8 to 7 only but this is just equivalent to raw 16 bits still, the neg index is just for the convenience?. For the Hardware logic, 0 to 15 or -8 to 7 is no different?
Thanks, I got it.
Now one more doubt.
If I declare in any of my array declarations as (NATURAL RANGE <>) instead of (1 to 8) or some finite length what happens?. How much depth my signal will get in such case?. I can not see any range in this (NATURAL RANGE <>). HOw does the tool guess the...
Thank you. But why do you say this
signal a : std_logic_vector := "00000000";
as Array?...
It is an eight-bit signal right. I have not type declared it as array...Pls can you explain?
Oh sorry Tricky, this seems to be for constant, I just mis-typed.Thanks
Constant a : std_logic_vector:="00000000";
However in this case, what will be the format of the constant 'a'
Is it "downto" or "to"
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.