home.social

#cocotb — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cocotb, aggregated by home.social.

  1. Isle Verilog modules include #cocotb tests and reference docs. Writing docs is time consuming but worthwhile. It's hard to learn from existing designs without them. #FPGA

    Here's a simple example; it could be better, but it's something to build on: github.com/projf/isle/blob/mai

  2. Isle Verilog modules include #cocotb tests and reference docs. Writing docs is time consuming but worthwhile. It's hard to learn from existing designs without them. #FPGA

    Here's a simple example; it could be better, but it's something to build on: github.com/projf/isle/blob/mai

  3. Isle Verilog modules include #cocotb tests and reference docs. Writing docs is time consuming but worthwhile. It's hard to learn from existing designs without them. #FPGA

    Here's a simple example; it could be better, but it's something to build on: github.com/projf/isle/blob/mai

  4. Isle Verilog modules include #cocotb tests and reference docs. Writing docs is time consuming but worthwhile. It's hard to learn from existing designs without them. #FPGA

    Here's a simple example; it could be better, but it's something to build on: github.com/projf/isle/blob/mai

  5. Isle Verilog modules include #cocotb tests and reference docs. Writing docs is time consuming but worthwhile. It's hard to learn from existing designs without them. #FPGA

    Here's a simple example; it could be better, but it's something to build on: github.com/projf/isle/blob/mai

  6. The search engines are failing me.

    Dear Lazy Web:
    If I wanted to enumerate the hierarchy of a design at the beginning of a cocotb test bench, how would I do it? (I'm aware of _discover_all(), but can't figure out how to iterate the results to print them.)

    Extra credit: How do I get an interactive debugger to break within the cocotb python code if I call cocotb from pytest? It seems to run the pytest code in the debugger, but not the cocotb code.

    #fpga #cocotb #lazyweb #python #vhdl #verilog

  7. The search engines are failing me.

    Dear Lazy Web:
    If I wanted to enumerate the hierarchy of a design at the beginning of a cocotb test bench, how would I do it? (I'm aware of _discover_all(), but can't figure out how to iterate the results to print them.)

    Extra credit: How do I get an interactive debugger to break within the cocotb python code if I call cocotb from pytest? It seems to run the pytest code in the debugger, but not the cocotb code.

    #fpga #cocotb #lazyweb #python #vhdl #verilog

  8. The search engines are failing me.

    Dear Lazy Web:
    If I wanted to enumerate the hierarchy of a design at the beginning of a cocotb test bench, how would I do it? (I'm aware of _discover_all(), but can't figure out how to iterate the results to print them.)

    Extra credit: How do I get an interactive debugger to break within the cocotb python code if I call cocotb from pytest? It seems to run the pytest code in the debugger, but not the cocotb code.

    #fpga #cocotb #lazyweb #python #vhdl #verilog

  9. The search engines are failing me.

    Dear Lazy Web:
    If I wanted to enumerate the hierarchy of a design at the beginning of a cocotb test bench, how would I do it? (I'm aware of _discover_all(), but can't figure out how to iterate the results to print them.)

    Extra credit: How do I get an interactive debugger to break within the cocotb python code if I call cocotb from pytest? It seems to run the pytest code in the debugger, but not the cocotb code.

    #fpga #cocotb #lazyweb #python #vhdl #verilog

  10. The search engines are failing me.

    Dear Lazy Web:
    If I wanted to enumerate the hierarchy of a design at the beginning of a cocotb test bench, how would I do it? (I'm aware of _discover_all(), but can't figure out how to iterate the results to print them.)

    Extra credit: How do I get an interactive debugger to break within the cocotb python code if I call cocotb from pytest? It seems to run the pytest code in the debugger, but not the cocotb code.

    #fpga #cocotb #lazyweb #python #vhdl #verilog

  11. @Tathar I would like to see a good one too. I'm all my years doing #vhdl and #verilog for a living the best test benches I ever have seen have just read in golden vectors and wrote out result vectors so they could be checked by an external script. We now use #cocotb and I'm starting to like it. I don't feel an hdl is a good match for testbench work. Maybe for a fixture layer connecting hdl blocks. But testbenches are not hardware. Why would we expect an hdl would do well for it?

  12. @Tathar I would like to see a good one too. I'm all my years doing #vhdl and #verilog for a living the best test benches I ever have seen have just read in golden vectors and wrote out result vectors so they could be checked by an external script. We now use #cocotb and I'm starting to like it. I don't feel an hdl is a good match for testbench work. Maybe for a fixture layer connecting hdl blocks. But testbenches are not hardware. Why would we expect an hdl would do well for it?

  13. @Tathar I would like to see a good one too. I'm all my years doing #vhdl and #verilog for a living the best test benches I ever have seen have just read in golden vectors and wrote out result vectors so they could be checked by an external script. We now use #cocotb and I'm starting to like it. I don't feel an hdl is a good match for testbench work. Maybe for a fixture layer connecting hdl blocks. But testbenches are not hardware. Why would we expect an hdl would do well for it?

  14. @Tathar I would like to see a good one too. I'm all my years doing #vhdl and #verilog for a living the best test benches I ever have seen have just read in golden vectors and wrote out result vectors so they could be checked by an external script. We now use #cocotb and I'm starting to like it. I don't feel an hdl is a good match for testbench work. Maybe for a fixture layer connecting hdl blocks. But testbenches are not hardware. Why would we expect an hdl would do well for it?

  15. Implementing HDL verification using is annoying and tedious. So seems to be the right choice.

  16. Implementing HDL verification using #UVM is annoying and tedious. So #cocotb seems to be the right choice. #FPGA #Python #systemverilog #VHDL

  17. Implementing HDL verification using #UVM is annoying and tedious. So #cocotb seems to be the right choice. #FPGA #Python #systemverilog #VHDL

  18. Implementing HDL verification using #UVM is annoying and tedious. So #cocotb seems to be the right choice. #FPGA #Python #systemverilog #VHDL

  19. Implementing HDL verification using #UVM is annoying and tedious. So #cocotb seems to be the right choice. #FPGA #Python #systemverilog #VHDL

  20. @remi Yeah my whole group gave up on mathworks (and Microsoft). We do everything in python now with boost c++ for some bits (on linux). No more dealing with license servers is great. We stimulate on a cluster of machines now and never worry about running out of licenses. It's great. Now when we can get rid of #modelsim we will be ~100% #foss tool chain. #ghdl and or #cvc with #cocotb is close but not quite. Xilinx #vivado encrypted ip cores are a problem that can only be avoided by saying no...

  21. @remi Yeah my whole group gave up on mathworks (and Microsoft). We do everything in python now with boost c++ for some bits (on linux). No more dealing with license servers is great. We stimulate on a cluster of machines now and never worry about running out of licenses. It's great. Now when we can get rid of #modelsim we will be ~100% #foss tool chain. #ghdl and or #cvc with #cocotb is close but not quite. Xilinx #vivado encrypted ip cores are a problem that can only be avoided by saying no...

  22. @remi Yeah my whole group gave up on mathworks (and Microsoft). We do everything in python now with boost c++ for some bits (on linux). No more dealing with license servers is great. We stimulate on a cluster of machines now and never worry about running out of licenses. It's great. Now when we can get rid of #modelsim we will be ~100% #foss tool chain. #ghdl and or #cvc with #cocotb is close but not quite. Xilinx #vivado encrypted ip cores are a problem that can only be avoided by saying no...

  23. @remi Yeah my whole group gave up on mathworks (and Microsoft). We do everything in python now with boost c++ for some bits (on linux). No more dealing with license servers is great. We stimulate on a cluster of machines now and never worry about running out of licenses. It's great. Now when we can get rid of #modelsim we will be ~100% #foss tool chain. #ghdl and or #cvc with #cocotb is close but not quite. Xilinx #vivado encrypted ip cores are a problem that can only be avoided by saying no...

  24. I have a nominally working simulation of a PI controller for the quadrature current in my scratch designed #fpga motor controller. Simulated in #ghdl and #cocotb. And the #xilinx ISE build fits! So I'm back to looking at the blown up hardware. Just pulled the scratch designed motor controller out of the Ice Cream Truck... I don't see a blown FET yet, but I saw a flash and pop the last time I worked on it, so I know it's in there somewhere. Race is on May 20th in #chicago Come out and help me!

  25. I have a nominally working simulation of a PI controller for the quadrature current in my scratch designed #fpga motor controller. Simulated in #ghdl and #cocotb. And the #xilinx ISE build fits! So I'm back to looking at the blown up hardware. Just pulled the scratch designed motor controller out of the Ice Cream Truck... I don't see a blown FET yet, but I saw a flash and pop the last time I worked on it, so I know it's in there somewhere. Race is on May 20th in #chicago Come out and help me!

  26. I have a nominally working simulation of a PI controller for the quadrature current in my scratch designed #fpga motor controller. Simulated in #ghdl and #cocotb. And the #xilinx ISE build fits! So I'm back to looking at the blown up hardware. Just pulled the scratch designed motor controller out of the Ice Cream Truck... I don't see a blown FET yet, but I saw a flash and pop the last time I worked on it, so I know it's in there somewhere. Race is on May 20th in #chicago Come out and help me!

  27. I have a nominally working simulation of a PI controller for the quadrature current in my scratch designed #fpga motor controller. Simulated in #ghdl and #cocotb. And the #xilinx ISE build fits! So I'm back to looking at the blown up hardware. Just pulled the scratch designed motor controller out of the Ice Cream Truck... I don't see a blown FET yet, but I saw a flash and pop the last time I worked on it, so I know it's in there somewhere. Race is on May 20th in #chicago Come out and help me!

  28. Yay, my #riscv implementation in spade is now far along that I can run ISA tests.

    #cocotb makes it really simple to generate test cases from the compiled elf files in github.com/riscv-software-src/

  29. Yay, my #riscv implementation in spade is now far along that I can run ISA tests.

    #cocotb makes it really simple to generate test cases from the compiled elf files in github.com/riscv-software-src/

  30. Yay, my #riscv implementation in spade is now far along that I can run ISA tests.

    #cocotb makes it really simple to generate test cases from the compiled elf files in github.com/riscv-software-src/

  31. Yay, my #riscv implementation in spade is now far along that I can run ISA tests.

    #cocotb makes it really simple to generate test cases from the compiled elf files in github.com/riscv-software-src/

  32. Yay, my #riscv implementation in spade is now far along that I can run ISA tests.

    #cocotb makes it really simple to generate test cases from the compiled elf files in github.com/riscv-software-src/