34 lines
784 B
Markdown
Raw Normal View History

2025-01-17 14:58:02 -07:00
## Boolean Engineering
- Truth tables
- Only practical for small circuits
- Schematic capture
- Using CAD to place logic gates on a virtual canvas
- Facilitates *hierarchical design*
- Good for larger circuits
- Don't scale well for very large circuits
- Hardware Description Languages
- Enables hierarchical design
- Standardized by IEEE
- Design is more portable
- Usable in combination with schematic design
# Verilog
2025-01-17 15:03:02 -07:00
- Originally developed by Gateway Design Automation
- Put in public domain in 1990
- Standardized in 1995
- Originally intended for simulation of logic networks, later adapted to synthesis
```verilog
2025-01-17 15:56:27 -07:00
//
2025-01-17 15:03:02 -07:00
module example1(x1, x2, s, f);
input x1, x2, s;
2025-01-17 15:51:27 -07:00
output f;
not(k, s);
and(g, k, x1);
and(h, s, x2);
or(f, g, h);
2025-01-17 15:56:27 -07:00
endmodule
```