Latchup
Problems
Leaderboards
Community
Help
SpinalHDL Docs
VHDL Tutorial
Verilog Tutorial
Login
Latchup
Problems
Leaderboards
Community
Help
SpinalHDL Docs
VHDL Tutorial
Verilog Tutorial
Login
SpinalHDL
Amaranth
(0.5)
Bluespec Classic
(2024.07)
Bluespec SV
(2024.07)
Chisel
(7.7.0)
Clash
(1.8)
HardCaml
(0.17.1)
PipelineC
(unstable-2026-03-15)
ROHD
(0.6.8)
Spade
(0.16.0)
SpinalHDL
(1.12.3)
TL-Verilog
(SandPiper API)
Veryl
(0.17.1)
Verilog
(yosys 0.55)
VHDL
(ghdl 5.1.1)
Reset from template
import spinal.core._ import spinal.lib._ // Stream-based solution component // // Input stream interface: // io.i.ready (output): Assert when ready to accept input // io.i.valid (input): Asserted when input data is valid // io.i.payload.* (input): Input payload fields // // Output interface: // io.o.valid (output): Assert when output data is valid // io.o.payload* (output): Output payload fields // // Handshaking: Data transfers when both ready and valid are high case class Solution() extends Component { val io = new Bundle { val i = slave Stream(new Bundle { val stream = Fragment(UInt(4 bits)) }) val o = master Flow(Fragment(UInt(12 bits))) } // Your code here }
▶
Testcase
‹
1 / 1
›
+
−
>_
Edit locally
View past submissions
Leaderboard
Run
Submit
Back to problem
Leaderboard
#
User
Language
Latency
▼
ns
Throughput
MHz
Area
μm²
Score
1
piasa-dev
Verilog
8068.09 (1299 cycles)
9.47 (5.9%)
22080
98.99
2
helloHackYnow
Amaranth
12358.26 (1298 cycles)
6.18 (5.9%)
17879
95.90
3
psmears
Amaranth
12744.49 (1299 cycles)
5.98 (5.9%)
18643
95.39
← Previous
Page 1
Next →