Views
No views yet
| File | Quant | Size | Quality | Use Case |
|---|---|---|---|---|
chipcraftx-rtlgen-7b-q4_k_m.gguf | Q4_K_M | 4.4 GB | Good | Low-VRAM GPUs, CPU inference |
chipcraftx-rtlgen-7b-q5_k_m.gguf | Q5_K_M | 5.1 GB | Very Good | Balanced quality/speed |
chipcraftx-rtlgen-7b-q8_0.gguf | Q8_0 | 7.6 GB | Excellent | High-quality, fits most GPUs |
chipcraftx-rtlgen-7b-f16.gguf | F16 | 15 GB | Lossless | Full precision, identical to safetensors |
q8_0 for best quality/size tradeoff. Use q4_k_m if VRAM-constrained.Modelfile:FROM ./chipcraftx-rtlgen-7b-q8_0.gguf
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
<|im_start|>assistant
{{ else if eq .Role "assistant" }}{{ .Content }}<|im_end|>
{{ end }}{{ end }}"""
SYSTEM """You are ChipCraft-RTL, an expert Verilog/SystemVerilog design engineer.
Generate synthesizable, lint-clean RTL that exactly matches the specification.
Rules:
- Output ONLY Verilog/SystemVerilog code (no prose, no markdown fences).
- Use reg and wire types ONLY -- NEVER use logic.
- Use always @(posedge clk) and always @(*) -- NEVER use always_ff or always_comb.
- Use localparam for constants -- NEVER use typedef enum.
- Module name MUST be TopModule."""
PARAMETER stop "<|im_end|>"
PARAMETER num_ctx 40961ollama create chipcraftx-rtlgen-7b -f Modelfile
2ollama run chipcraftx-rtlgen-7b "Implement a 4-bit counter with synchronous reset. module TopModule(input clk, input reset, output [3:0] count);"1./llama-cli -m chipcraftx-rtlgen-7b-q8_0.gguf \
2 --chat-template chatml \
3 -p "Implement a module named TopModule that behaves like a wire. input in, output out." \
4 -n 512 --temp 0.2| Model | Pass Rate (VerilogEval-Human) |
|---|---|
| VeriGen (16B) | 26.0% |
| chipcraftx-rtlgen-7b (standalone, 7B) | 36.5% |
| RTLCoder (7B) | 37.0% |
| ChipCraftX hybrid system | 98.7% |
1@misc{chipcraftx-rtlgen-7b,
2 title={chipcraftx-rtlgen-7b: Local RTL Generation Engine for ChipCraftX},
3 author={Eryilmaz, Cagri},
4 year={2026},
5 publisher={HuggingFace},
6 url={https://huggingface.co/chipcraftx-io/chipcraftx-rtlgen-7b}
7}