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.
@rca
These numbers are generated by the testbench.
@FvM
passing that real number as an argument to IEEE TEXTIO package write() prints the number in scientific notation, which is not what I want to see.
would u mind to post the exact VHDL code?
I have some real numbers like 9.123472e+002.
I need to print these to a file after converting them to normal decimal number representation from scientific representation like in this example I want to write 912.3472 to the file instead of writing 9.123472e+002.
Any idea how to do this in VHDL...
Hi
I am working on a design where a DAC needs to drive an isolation amplifier as well as a MUX. The output of the MUX goes to an ADC.
I wish to determine if the DAC can really drive those two devices properly or do I need a buffer or some other intermediate component.
The components here are...
Dear All,
I would like to convert IEEE754 single precision number to a 16-bit integer (2's complement representation).
I read that there is a command 'int16', but it is not accepting the hexadecimal string as input argument.
Also, the output 16-bit integer should be represented in hex. For...
Hi all
I need a C/C++ code for LCD controller SED 1330F i.e. I need Simulator for SED 1330F....
If anyone has it, please share or inform where it shall be available..?
Thanks
I just did a simulation in modelsim 6.0 SE and after the simulation, I opened the 'vsim.wlf' file.
It did not open and threw the following message.
I am not able to open the waveform even after closing the existing instance of modelsim and opening in a new one.
This is the error message:
I want to know how to define user defined data type in verilog?
I want to define a two-dimensional array with a name say 'memory' and I want to declare a new variable of type 'memory' and assign values to it...
How to do this?
Plz. help
@FvM
Thanks for ur reply.
You are right in saying that
.
But, in the always block, there is only a single if-else, so I guess it won't effect much if its concurrent or sequential.
May be that is why you said
. But I did not get how it would mean different kinds of behavioral description.
That...
Hi..
I want to know the best way of converting the below VHDL code to verilog code
First type of VHDL code:
a0_n <= a_i(0) WHEN d_en_i = '1' AND
dat_en_i= '1' ELSE
'1' WHEN d_en_i = '1' ELSE
'Z';
There are two ways I can think of writing this...
Hi!
I wrote a controller design in vhdl and tested it with a script based test bench in Modelsim 6.0 SE.
When I run the test case 1, it got successfully executed and generated the required report files.
When the simulation is run in modelsim 6.0 SE for the first time ( irrespective of...
I wrote "comp X(.a({b,a}), .b(c));" in my code.
I am not able to see to bit level like a[0] is mapped to what and a[1] is mapped to what. But, On placing mouse pointer on the signal a(1:0), it displays "Input pin: a(1:0) => Signal b,a" in RTL view. I am using Xilinx 12.2 ISE.
So, I feel comp...
Yes Got it. The inputs need to be concatenated.
But how is the order taken?
In the above example, I want to map a to a[0] and b to a[1].
Which is correct?
comp X (.a({b,a}), .b(c)); OR comp X(.a({a,b}), .b(c));
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.