A web app showing a example counter systemverilog design with testbench written in signalflip-js using Verilator as a simulator
cd server/counter
npm i
make
cd server
npm i
node server.js
cd client
npm i
npm start
The output shows the counter value at each clock cycle. Each time the page is reloaded, the server intializes the dut and runs the simulation again