Skip to content

Instantly share code, notes, and snippets.

View drom's full-sized avatar
🌊
always @ posedge

Aliaksei Chapyzhenka drom

🌊
always @ posedge
View GitHub Profile
@drom
drom / sewer-cleanout-wrench-v0.1.0.js
Created October 20, 2025 03:08
sewer cleanout wrench
// Insert this code here: https://studio.replicad.xyz/workbench
const { makeBox, makeCylinder } = replicad;
const main = () => {
const H = 20
const OD = 80
const X = 26
let wrench
@drom
drom / GitCommitEmoji.md
Last active January 28, 2025 02:58 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
TOP
core_clk
tb_top
ifu_axi_arvalid
ifu_axi_arready
ifu_axi_araddr
ifu_axi_arlen
ifu_axi_arsize
ifu_axi_arburst
ifu_axi_arid
$date
Thu Jul 22 22:29:56 2021
$end
$version
Icarus Verilog
$end
$timescale
1ps
$end
$scope module friscv_rv32i_testbench $end
This file has been truncated, but you can view the full file.
; seed: 528570
circuit top_mod :
module mod_0 :
input clock: Clock
input reset: UInt<1>
input arst: AsyncReset
@drom
drom / jsonsize.js
Last active April 19, 2021 21:46
restructure json file format
#!/usr/bin/env node
'use strict';
const fs = require('fs');
const glob = require('glob');
const tag = {
key: '\u001b[36m',
boolean: '\u001b[33m',
number: '\u001b[35m',
@drom
drom / 220-03.csv
Created January 25, 2021 01:47
tor 63
Freq (MHz) re(S11) im(S11) re(Z) im(Z)
2.000 -0.99443 0.06784 0.082 1.703
2.039 -0.99398 0.06931 0.090 1.741
2.078 -0.99345 0.06979 0.103 1.754
2.117 -0.99332 0.07190 0.102 1.807
2.157 -0.99354 0.07256 0.096 1.823
2.196 -0.99339 0.07417 0.096 1.864
2.235 -0.99353 0.07486 0.092 1.881
2.274 -0.99314 0.07600 0.099 1.910
2.313 -0.99350 0.07799 0.086 1.960

Tests

Timing Diagram

{ signal: [
  { name: "clk",         wave: "p.....|..." },
  { name: "Data",        wave: "x.345x|=.x", data: ["head", "body", "tail", "data"] },
  { name: "Request",     wave: "0.1..0|1.0" },
 {},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.