logidrom icon indicating copy to clipboard operation
logidrom copied to clipboard

render wires

Open drom opened this issue 4 years ago • 0 comments

:construction: Work In Progress :construction:

wire types: https://github.com/sifive/duh-bus/blob/master/docs/types.md

wire drawing

The distinct visual language behind wire types.

Single wire in digital design can be modeled as a directed forward hyper-edge. It is typically drawn as a straight solid line (horizontal or vertical). Preferably in LR or TB direction. With the exception of loops that have BT or RL directed wires. Angles other than 90deg are rare.

wire width

1 - a thin line N>1 - bold line? 0 - dotted line?

Directed bundle

A bundle where all elements have the same direction.

Uniform Bundle

A directed bundle where all elements have the same width.

Channel

valid = physicalPort name (width=1) (initiator -> target) ready = physicalPort name (width=1) (target -> initiator) bits = physicalPort name, Directed Bundle (initiator -> target) { pixel: { type: 'channel', body: { valid: 'pixel_val', ready: 'pixel_rdy', bits: ['pixel_cmd', 'pixel_dat'] } } }

Typed bus interface

collapse & expand

Method of collapsing and expanding nested wire structures

drom avatar Jun 06 '20 07:06 drom