ELEC60015-HLP-CW/demo.md

30 lines
1.8 KiB
Markdown
Raw Normal View History

2022-03-25 18:40:16 +00:00
# Features
## Buswire
- Wire type
- Render Wires (check for port facing down) ELSE NO
2022-03-26 10:18:23 +00:00
- Rounded corners
- 2 standalone functions, `renderRISegList` and `renderRISegAndCorner`
- Can be easily swapped in place of `List.map renderSegment` within `singleWireView, renderWireSegmentList`
- Renders only necessary segments, ignoring 0 length segments, either because they are covered by the rounded corners or are 0 length originally
- Does not impact underlying position and click detection
2022-03-25 18:40:16 +00:00
- Autorouting
- Partial Autorouting (almost fine -> not working when input/output are at top/bottom)
2022-03-26 10:18:23 +00:00
- No wire jumps because of rounded corners
- Code for calculating jumps on wire move can be disabled when rounded corners are enabled, possible performance improvement
2022-03-25 18:40:16 +00:00
- Drag Segments NO
## Symbol
- New Types: (Rotation, PortOrientation, PortOrientationOffset, New Component -> +R + SI , AportOffsetMap)
- Rotation: All symbols can be rotated except for Split/MergeWire and Custom (since you can alter the ports' positions any way you like)
2022-03-25 18:40:16 +00:00
- Mux + Adder with ports on different edges
- Clock on custom -> NO
- APortOffsetMap: used for all drawing functions, for loading components, and allows easy change of ports' locations
2022-03-26 00:01:42 +00:00
- UI to rotate : This can be accessed by either pressing the keyboard combination SHIFT+R or accessing this through View>Rotate Symbol.
- Move ports of custom : This can be accessed through the Symbol properties tab and selecting the port and preferred side to be moved to. Also by selecting the same side a port currently is it will move it to be the first port in that side.
2022-03-26 00:01:42 +00:00
- Auto-align : Not implemented.
- Bounding box : Bounding box height and width was changed to take into account the rotation of the symbol. This can be seen by rotating the symbol and testing the new bouding box.
2022-03-25 18:40:16 +00:00