Type: Posts; User: dave_59

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies

    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...
  2. Closed: Re: Alternative of “can not set both range and type on function declaration” in veril

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

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

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

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

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

    [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...
  9. Closed: Re: Verilog wire vs reg. Which one should I use and when / why?

    Please see
  10. [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...
  11. Replies

    Closed: Re: System verilog, fork join_any

    You will need to use a semaphore

    semaphore s;

    s = new(0);
    begin : process1
  12. Replies

    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...
  13. 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...
  14. 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.
  15. 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...
  16. Replies

    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.
  17. 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,
  18. Replies

    Re: Bluetooth connection with a smartphone?

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

    Closed: Re: Verilog Assignment with condition

    If there is clear execution ordering of a set of nonblocking assignments, the order of the resulting updates to the LHS are preserved. So the second assignment overrides the first.

    In synthesis,...
  20. Replies

    Closed: Re: Automatize simulations in Modelsim

    You want

    vsim -batch -do <args>

    This is quicker than -c as it doesn't invoke an interactive Tcl shell
  21. Closed: Re: How to generate the vcd file in modelsim for power estimation using PrimeTime Px

    You should be using SAIF format instead of VCD format for dumping. It's much more compact.
  22. Replies

    Closed: Re: SerDes - architecture and applications

    The bottom of the Wikipedia page you reference links to many applications. Most common are applications that communicate over a differential pair(Ethernet, LDVS), or radio transmission.
  23. Closed: Re: Using different time units in Verilog simulation

    SystemVerilog allows time units.
    x <= 0;
    x <= #2ns 1;
    x <= #4ms 0;
  24. Closed: Re: System Verilog - default type of a declared variable

  25. Closed: Re: Verilog & System Verilog - port sizing by inheritance

    Verilog does not support this. SystemVerilog has dynamically sized unpacked arrays, but nothing for packed arrays (vectors).

    What you can do is pass the size of a port as a module parameter, and...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4