home.social

#verilator — Public Fediverse posts

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

  1. Создаем I2C Master Controller на Verilog. Тестируем ядро

    По результатам написания прошлой статьи у нас получился объемный модуль для реализации функций низкоуровневого управления шиной I2C, который формирует управление линиями SCL/SDA, поддерживает мониторинг шины, ведет передачу и прием данных. В этой статье я предлагаю организовать полноценное вдумчивое тестирование всего что получилось. Всем заинтересованным - добро пожаловать под кат! 🙂

    habr.com/ru/companies/beget/ar

    #verilog #verilator #iverilog #gtkwave #i2c_master_controller #testbench #icarus_verilog

  2. Создаем I2C Master Controller на Verilog. Тестируем ядро

    По результатам написания прошлой статьи у нас получился объемный модуль для реализации функций низкоуровневого управления шиной I2C, который формирует управление линиями SCL/SDA, поддерживает мониторинг шины, ведет передачу и прием данных. В этой статье я предлагаю организовать полноценное вдумчивое тестирование всего что получилось. Всем заинтересованным - добро пожаловать под кат! 🙂

    habr.com/ru/companies/beget/ar

    #verilog #verilator #iverilog #gtkwave #i2c_master_controller #testbench #icarus_verilog

  3. Создаем I2C Master Controller на Verilog. Тестируем ядро

    По результатам написания прошлой статьи у нас получился объемный модуль для реализации функций низкоуровневого управления шиной I2C, который формирует управление линиями SCL/SDA, поддерживает мониторинг шины, ведет передачу и прием данных. В этой статье я предлагаю организовать полноценное вдумчивое тестирование всего что получилось. Всем заинтересованным - добро пожаловать под кат! 🙂

    habr.com/ru/companies/beget/ar

    #verilog #verilator #iverilog #gtkwave #i2c_master_controller #testbench #icarus_verilog

  4. Создаем I2C Master Controller на Verilog. Тестируем ядро

    По результатам написания прошлой статьи у нас получился объемный модуль для реализации функций низкоуровневого управления шиной I2C, который формирует управление линиями SCL/SDA, поддерживает мониторинг шины, ведет передачу и прием данных. В этой статье я предлагаю организовать полноценное вдумчивое тестирование всего что получилось. Всем заинтересованным - добро пожаловать под кат! 🙂

    habr.com/ru/companies/beget/ar

    #verilog #verilator #iverilog #gtkwave #i2c_master_controller #testbench #icarus_verilog

  5. Making it match the sim.

    Clock shows one clock between last data transition and rising edge of we_n, scope shows two.

    Getting closer!

    #protonpack #FPGA #Alchitry #Verilator #verilog

  6. This week experimented with adding a matmul & sorting accelerators (and opcodes for both) to PicoRV32 using the PCPI interface. Also added support for those ops to the Spike RISCV simulator. Yes, Claude helped a huge amount with these tasks which would've likely taken weeks otherwise. The design simulates (Verilator) & sythesizes (yosys) and I can generate a bitstream for both GateMateA1 and ECP5 (OrangeCrab board)

  7. This week experimented with adding a matmul & sorting accelerators (and opcodes for both) to PicoRV32 using the PCPI interface. Also added support for those ops to the Spike RISCV simulator. Yes, Claude helped a huge amount with these tasks which would've likely taken weeks otherwise. The design simulates (Verilator) & sythesizes (yosys) and I can generate a bitstream for both GateMateA1 and ECP5 (OrangeCrab board)

    #FPGA #yosys #verilator

  8. This week experimented with adding a matmul & sorting accelerators (and opcodes for both) to PicoRV32 using the PCPI interface. Also added support for those ops to the Spike RISCV simulator. Yes, Claude helped a huge amount with these tasks which would've likely taken weeks otherwise. The design simulates (Verilator) & sythesizes (yosys) and I can generate a bitstream for both GateMateA1 and ECP5 (OrangeCrab board)

    #FPGA #yosys #verilator

  9. This week experimented with adding a matmul & sorting accelerators (and opcodes for both) to PicoRV32 using the PCPI interface. Also added support for those ops to the Spike RISCV simulator. Yes, Claude helped a huge amount with these tasks which would've likely taken weeks otherwise. The design simulates (Verilator) & sythesizes (yosys) and I can generate a bitstream for both GateMateA1 and ECP5 (OrangeCrab board)

    #FPGA #yosys #verilator

  10. My Nandgame CPU now has an Assembler.

    Yes, it's LLM generated.
    I run into the problem that I want to solve problem X, for for that, I need to solve Y, Z, Q, a.s.o first.
    I needed a shortcut.

    Anyway, I now can sum the numbers from 0 to 10.
    I need to manually calculate jump positions. No labels.
    I have no proper halt instruction and will probably simply use the nand2tetris convention of "these instruction bits need to be 1". Which is fugly for future extensions.

    I have no idea how to properly solve this.

    git.uvok.de/fpga-exper/tree/na

    #nandgame #nand2tetris #verilator

  11. My Nandgame CPU now has an Assembler.

    Yes, it's LLM generated.
    I run into the problem that I want to solve problem X, for for that, I need to solve Y, Z, Q, a.s.o first.
    I needed a shortcut.

    Anyway, I now can sum the numbers from 0 to 10.
    I need to manually calculate jump positions. No labels.
    I have no proper halt instruction and will probably simply use the nand2tetris convention of "these instruction bits need to be 1". Which is fugly for future extensions.

    I have no idea how to properly solve this.

    git.uvok.de/fpga-exper/tree/na

    #nandgame #nand2tetris #verilator

  12. My Nandgame CPU now has an Assembler.

    Yes, it's LLM generated.
    I run into the problem that I want to solve problem X, for for that, I need to solve Y, Z, Q, a.s.o first.
    I needed a shortcut.

    Anyway, I now can sum the numbers from 0 to 10.
    I need to manually calculate jump positions. No labels.
    I have no proper halt instruction and will probably simply use the nand2tetris convention of "these instruction bits need to be 1". Which is fugly for future extensions.

    I have no idea how to properly solve this.

    git.uvok.de/fpga-exper/tree/na

    #nandgame #nand2tetris #verilator

  13. My Nandgame CPU now has an Assembler.

    Yes, it's LLM generated.
    I run into the problem that I want to solve problem X, for for that, I need to solve Y, Z, Q, a.s.o first.
    I needed a shortcut.

    Anyway, I now can sum the numbers from 0 to 10.
    I need to manually calculate jump positions. No labels.
    I have no proper halt instruction and will probably simply use the nand2tetris convention of "these instruction bits need to be 1". Which is fugly for future extensions.

    I have no idea how to properly solve this.

    git.uvok.de/fpga-exper/tree/na

    #nandgame #nand2tetris #verilator

  14. It turns out I already had the verilator lint support installed in my #vscode

    github.com/Migilint/vscode-ver

    And once I compiled/installed #verilator (and set up the path, which unfortunately seems to be manual), it is integrated nicely. It doesn't seem to run automatically though as I type.

    #codium #fpga #verilog

  15. Набрасываем на Verilator

    Эта статья не является прямым продолжение статьи Время собирать пакеты , но затрагивает связанные темы. Учимся создавать артефакты в рамках концепции Инфраструктура как Артефакт. Будем разворачивать Verilator в Kubernetes.

    habr.com/ru/articles/890004/

    #verilator #kubernetes

  16. Из студентов в инженеры: как перестать бояться и полюбить системную верификацию

    Привет, Хабр! На связи Михаил Степанов, инженер в группе функциональной верификации YADRO. Еще в прошлом году мы с моим коллегой Романом Казаченко участвовали в хакатоне по разработке микропроцессоров как студенты, а сейчас — помогаем с задачами для SoC Design Challenge как сотрудники компании-организатора. В статье расскажем, что ждет участников трека «Системная верификация СнК» в этом году и как подготовиться к этому испытанию. Если вы не планируете участвовать в хакатоне, но вам интересно, как инженеры тестируют системы на кристалле перед запуском в производство, эта статья тоже будет вам полезна. На примере заданий хакатона я кратко объясню, что такое системная верификация, из каких блоков состоят СнК и какие инструменты используются для их тестирования.

    habr.com/ru/companies/yadro/ar

    #SoC_design #функциональная_верификация #системная_верификация #QEMU #verilog #verilator #система_на_кристалле #хакатон #SoC_Design_Challenge

  17. Exciting update for the ROHD community! We're pleased to announce the release of ROHD Cosim v0.3.0, now supporting in/out ports and Verilator for enhanced simulation. Also, ROHD v0.6.2 is out, featuring some bug fixes and improved adder syntax in SystemVerilog. buff.ly/3WLth4y #rohd #opensource #hardware #hdl #cosim #verilator

  18. 🎉 Spade v0.8.0 has been released 🎉

    This release extends the standard library, fixes a whole bunch of small pitfalls, and includes several improvements around tests!

    The std-lib now has a higher level wrapper around #fpga block-rams, primitives for clock domain crossing, and reduce_* functions added by @0xC01DC0FFEE

    Finally, improved #Verilator support allows cool stuff in tests. The video shows this being used to visualize memory accesses in my camera project

    Blog: blog.spade-lang.org/v0-8-0/

  19. I think that it is very hard to debug complex #verilog circuits. So many things happening at the same time. So I am about to start writing C++ consistency checks for the #Verilator simulator. If this signal is this way, then that signal should be that way. Run a test, if it fails, guess at the bug, write a consistency test, and run it again.

    Very different from testing each block, sadly the #J1 CPU + #Forth is one complex circuit.
    #Mecrisp

  20. Exploiting Hardware-Level Parallelism in the Manticore Hardware-Accelerated RTL Simulator - Before a chip design is turned from a hardware design language (HDL) like VHDL or ... - hackaday.com/2023/05/10/exploi #rtlsimulator #verilator #hardware #hdl

  21. Exploiting Hardware-Level Parallelism in the Manticore Hardware-Accelerated RTL Simulator - Before a chip design is turned from a hardware design language (HDL) like VHDL or ... - hackaday.com/2023/05/10/exploi #rtlsimulator #verilator #hardware #hdl

  22. Exploiting Hardware-Level Parallelism in the Manticore Hardware-Accelerated RTL Simulator - Before a chip design is turned from a hardware design language (HDL) like VHDL or ... - hackaday.com/2023/05/10/exploi #rtlsimulator #verilator #hardware #hdl

  23. Exploiting Hardware-Level Parallelism in the Manticore Hardware-Accelerated RTL Simulator - Before a chip design is turned from a hardware design language (HDL) like VHDL or ... - hackaday.com/2023/05/10/exploi #rtlsimulator #verilator #hardware #hdl

  24. Exploiting Hardware-Level Parallelism in the Manticore Hardware-Accelerated RTL Simulator - Before a chip design is turned from a hardware design language (HDL) like VHDL or ... - hackaday.com/2023/05/10/exploi #rtlsimulator #verilator #hardware #hdl

  25. If you’re using @panic ’s Nova to edit your Verilog files, you'll be happy to know that @tsalvo ‘s Verilog extension now supports linting too via verilator…

    nova://extension/?id=com.tomsalvo.verilog&name=Verilog

    github.com/tsalvo/Verilog-Nova

    #FPGA #OpenFPGA #Verilog #Nova #Verilator

  26. I prefer #verilog - it is the C to #VHDL's Java, if you like. One is concise, the other verbose. One gives you plenty of rope to shoot yourself in the foot, the other tires you out. In the famous shootout, the #verilog team got the job done soonest. However, it's possible that in a complex and critical case like aerospace, the #vhdl team would make something more correct.

    Many tools allow a free mix of HDLs. But the fastest simulator, #verilator is free and verilog-only.

    @profoundlynerdy