Search:

Type: Posts; User: dave_59

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    14
    Views
    564

    Closed: Re: External C++ compilation and DPI question

    Try
    g++ -c -I<install_dir>\questasim\include mytest.cpp
    g++ -shared -Bsymbolic -o mytest.dll mytest.o -L<install_dir>\questasim\win32
  2. Replies
    14
    Views
    564

    Closed: Re: External C++ compilation and DPI question

    Why do you have that requirement?
  3. Replies
    14
    Views
    564

    Closed: Re: External C++ compilation and DPI question

    If you are using a version of Questa/Modelsim within the last 8 years, you can put the C/C++ file on the vlog command line and skip the separate gcc step.
  4. Replies
    7
    Views
    479

    Closed: Re: Logic duplication and optimization

    Common subexpression elimination is a common optimization found in both software and hardware tools. You shouldn't have to write your code to help the optimizer.

    That said, you should write your...
  5. Replies
    1
    Views
    190

    Closed: Re: is accellera UVM free?

    It's released with the Apache 2.0 license

    You can find information about using it here.

    Although there are ways to run some UVM code freely, commercial projects need commercial software to...
  6. Replies
    6
    Views
    703

    Closed: Re: default statement in case

    The default case branch is there to prevent your FSM from locking up unto an unspecified state. In simulation, this can happen when X's get into your state variable. For synthesis, you want your FSM...
  7. Replies
    3
    Views
    410

    Closed: Re: Testbench input stimulus

    You may have race conditions if your module also has code that waits for @(posedge clock). The same rules apply between your testbench and module as well as module to module. Use non-clocking...
  8. Replies
    10
    Views
    625

    Closed: Re: parameterized insertion of bits to data

    I don't understand either.
    Please show an example with sample data input and output values. How is control used? What order to the bits in append_data get selected? What happens when bits_to_append...
  9. Closed: Re: Alternative of “can not set both range and type on function declaration” in veril

    Remove the reg keyword in the function return.
  10. Closed: Re: Req: Bluspec Systemverilog good learning materials

    http://wiki.bluespec.com
  11. Replies
    11
    Views
    922

    Closed: Re: Beginning and end of a time step

    You are missing the code that changes clk and in. And nothing changes at the end of a time step. Change has to happen first, and only when there are no more changes can you proceed to the end of the...
  12. Replies
    11
    Views
    922

    Closed: Re: Beginning and end of a time step

    You have to look at how every signal changes value. Assuming every signal that changes on a clock edge uses a non-blocking assignment, there will be no race conditions. And you may have to look...
  13. Replies
    11
    Views
    922

    Closed: Re: Beginning and end of a time step

    If you use blocking assignments to a and b, you have a race condition. That is the whole point of using non-blocking assignments when one always process writes, and another always process reads the...
  14. Replies
    11
    Views
    922

    Closed: Re: Beginning and end of a time step

    This is not the correct way of thinking about it. The RHS of non-blocking assignment gets evaluated as soon as the previous statement completes. The LHS c gets scheduled to update after in another...
  15. Replies
    2
    Views
    524

    [SOLVED]Closed: Re: $urandom_range is generating same values

    That is the correct behavior - it's called random stability which allows you to debug your test should it fail. You need to change the initial seed if you want another set of random values. Using...
  16. Closed: Re: Verilog wire vs reg. Which one should I use and when / why?

    Please see http://go.mentor.com/wire-vs-reg
  17. [SOLVED]Closed: Re: Creating verilog define for filename based on input file path, string concatenati

    The `` and `" are SystemVerilog token pasting operator. Normally, the macro pre-processor only works with inseparable tokens like identifiers, numbers and strings. If you want a macro argument...
  18. Replies
    3
    Views
    544

    Closed: Re: System verilog, fork join_any

    You will need to use a semaphore

    semaphore s;

    s = new(0);
    fork
    begin : process1
    ...
    s.put(1);
    end
  19. Replies
    3
    Views
    462

    Closed: Re: blocking assignment in always_comb

    Assuming the missing begin/end was a typo, they are functionally equivalent and should synthesize to the same hardware. The only difference is in simulation debugging, you'll be able to see the...
  20. Closed: Re: Verilog "Switch-level" of circuit description has it equivalent in VHDL?

    There are still some applications where traditional logic synthesis tools do not produce optimal results, so other means must be used. Sometime people do draw schematics by hand, or have scripts that...
  21. Closed: Re: Verilog "Switch-level" of circuit description has it equivalent in VHDL?

    Just to correct ThisIsNotSam's answer, one can take a nettist of gate/switch-level primitives and feed it to an IC layout tool.
  22. Closed: Re: Verilog "Switch-level" of circuit description has it equivalent in VHDL?

    All major simulation tools support Verilog switch-level primitives. People who design FPGAs (not the users who program them) may utilize switch level primitives, especially in the simulation of the...
  23. Replies
    3
    Views
    861

    Closed: Re: Writing ModelSim do files

    ModelSim uses standard TCL.

    But, DO NOT write your stimulus that way. Use the same language you wrote your design with. And you are not restricted to synthesizable coding rules.
  24. Closed: Re: what $finish will be sythesis to in verilog?

    The circuitry to do this goes beyond what you could describe in plain digital Verilog. Power is analog,
  25. Replies
    7
    Views
    534

    Re: Bluetooth connection with a smartphone?

    This was my first hit when I searched for "FPGA development boards with bluetooth"

    https://joelw.id.au/FPGA/CheapFPGADevelopmentBoards
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4