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.
Hello,
I will try to use ModelSim 10.0 again. When I used Modelsim 10.0c it was the free student version. The error was something talking about "case statement" inside one m-file simulink.
I entered the m-file and I found something like
case(6.3)
{....}
case(6.4)
{.....}
case (6.5)
{.....}...
Hello,
I solved the problem. I had the error because I didn't start the Modelsim simulation in the right way. I selected the following menu:
instead I used exactly what is written in the matlab help
ModelSim>vsimulink work.inverter
Thats all. By the way I'm using modelsim SE 6.3c and...
Hello everyone,
I need to run the following Mathworks tutorial.
Simulink and ModelSim Tutorial :: Linking Simulink to ModelSim (Link for ModelSim)
The tutorial is simple. It simulates an inverter written in vhdl and compiled by modelsim, and the test patterns are generated using simulink.
Most...
Hi,
I dunno what do they use it allover the design files. I think having so many "#" inside the design files gives the impression of "spaghetti" coding, although the code is very well structured.
Hi,
I use the following code to implement a generic shift register.
/////////////////////////////////////////////
module Equalizer_IP(parallel_o,serial_in,clk_in,enable,reset_in);
parameter filter_order = 7;
parameter bw = 4;
parameter maxbitgain = 21;
output [bw-1:0]...
Hi there,
I used Altera Quartus to draw the schematicd for your code. It looks as follows.
---------- Post added at 10:19 ---------- Previous post was at 10:13 ----------
You should change your code to have some sequential element.
initial
begin
enable_reg=1'b0;
end
assign enable_out...
Please describe the hardware that u r using. I mean which development board or custom card.
Anyway, the tutorial here implements an oscilloscope, so they are interfacing the ADC. It will help you.
fpga4fun.com - Digital oscilloscope - part 1
As far as know there are no Analog Digital Converter (ADC) embedded in the FPGA. You should use external module and the interface for the ADC can be written in Verilog or VHDL.
In software, we need to initialize variables because these values are stored in the program memory which may contain any previously stored values , so the term 'un-initialized' is valid.
In HDL languages it is different, we write code to be transferred to hardware, i.e. when you write a code...
Hello,
As we know, driver of the dot matrix lcd is amazingly easy. However, your question is related to hardware not firmware. I dunno if it is the right section to ask this question, anyway I'll tell you what to do briefly...
If you will write only to the LCD, just write your driver to send...
Hello,
To answer the question "What is the max frequency that I can use?" I think you should firstly read the "clock management" section found in the part data-sheet. For example in Virtex 6 see page number '5' in ds150.pdf.
Then, you should read carefully the clock distribution, how clocks...
Hello,
To change the positin of relay contact, you should apply a constant voltage across the inductor of the relay. Therefore you can connect the FPGA pin directly to one terminal of the coil while the other is grounded. this is pretty simple, why do we need a transistor and a diode?
We need...
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.