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.

Recent content by sameh_yassin99

  1. sameh_yassin99

    [SOLVED] Matlab and Modelsim Cosimulation

    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) {.....}...
  2. sameh_yassin99

    [SOLVED] Matlab and Modelsim Cosimulation

    Hello TrickyDicky, I'm using ModelSim 10.0c usually. However, I had an error stating that I should use one of ModeSim versions 6.3 or 6.4 or 6.5 only.
  3. sameh_yassin99

    [SOLVED] Matlab and Modelsim Cosimulation

    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...
  4. sameh_yassin99

    [SOLVED] Matlab and Modelsim Cosimulation

    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...
  5. sameh_yassin99

    Output Pins stuck at VCC? Code issue?

    Tools -> Netlist viewers -> RTL viewer Have fun :)
  6. sameh_yassin99

    What does "#" do in verilog code ?

    Hello, Can u please give an example for the use of "#" for synthesis..
  7. sameh_yassin99

    What does "#" do in verilog code ?

    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.
  8. sameh_yassin99

    What does "#" do in verilog code ?

    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]...
  9. sameh_yassin99

    Output Pins stuck at VCC? Code issue?

    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...
  10. sameh_yassin99

    vhdl code needed for analog to digital convertor using ports.

    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
  11. sameh_yassin99

    vhdl code needed for analog to digital convertor using ports.

    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.
  12. sameh_yassin99

    How to check for invalid data

    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...
  13. sameh_yassin99

    Interfacing a Dot matrix LCD to Spartan3 FPGA

    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...
  14. sameh_yassin99

    IO Pad max frequency Calculation

    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...
  15. sameh_yassin99

    Interfacing mechanical relay with Spartan 3 FPGA

    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...

Part and Inventory Search

Back
Top