Skip to content

Commit a3517e7

Browse files
authored
Update README.md
1 parent d3fd37e commit a3517e7

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

docs/README.md

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,40 @@
1-
# Wokwi sn74ahct1g32 Chip
1+
# Wokwi cd54hct30 Chip
22

3-
This is a custom chip for [Wokwi](https://wokwi.com/). It implements the sn74ahct1g32 IC.
3+
This is a custom chip for [Wokwi](https://wokwi.com/). It implements the cd54hct30 IC.
44

55
## Description
66

7-
The sn74ahct1g32 contain single 2-input Positive-OR gates. Each gate performs the Boolean function
8-
of Y = (A + B) in positive logic.
7+
The cd54hct30 contain single 2-input Positive-OR gates. Each gate performs the Boolean function
8+
of Y = NOT(A . B . C . D . E . F . G . H) in positive logic.
99

1010
## Truth Table
11+
| INPUTS | |
12+
|-------------------------------------------------------------------------------| OUTPUT |
13+
| INPUT A | INPUT B | INPUT C | INPUT D | INPUT E | INPUT F | INPUT G | INPUT H | |
14+
|---------|---------|---------|---------|---------|---------|---------|---------|---------|
15+
| L | X | X | X | X | X | X | X | H |
16+
| X | L | X | X | X | X | X | X | H |
17+
| X | X | L | X | X | X | X | X | H |
18+
| X | X | X | L | X | X | X | X | H |
19+
| X | X | X | X | L | X | X | X | H |
20+
| X | X | X | X | X | L | X | X | H |
21+
| X | X | X | X | X | X | L | X | H |
22+
| X | X | X | X | X | X | X | L | H |
23+
| H | H | H | H | H | H | H | H | L |
1124

12-
| INPUT A | INPUT B | OUTPUT |
13-
| ------- | ------- | ------- |
14-
| X | H | H |
15-
| H | X | H |
16-
| L | L | L |
1725

1826
## Pin names
1927

2028
| Name | Description |
2129
| ---- | ----------------- |
2230
| A | Input signal A |
2331
| B | Input signal B |
32+
| C | Input signal C |
33+
| D | Input signal D |
34+
| E | Input signal E |
35+
| F | Input signal F |
36+
| G | Input signal G |
37+
| H | Input signal H |
2438
| Y | Output signal |
2539
| GND | Ground |
2640
| VCC | Supply voltage |
@@ -32,17 +46,17 @@ To use this chip in your project, include it as a dependency in your `diagram.js
3246

3347
```json
3448
"dependencies": {
35-
"chip-sn74ahct1g32": "github:wokwi-custom-chips/sn74ahct1g32@0.1.0"
49+
"chip-cd54hct30": "github:wokwi-custom-chips/cd54hct30@0.1.0"
3650
}
3751
```
3852

39-
Then, add the chip to your circuit by adding a `chip-sn74ahct1g32` item to the `parts` section of diagram.json:
53+
Then, add the chip to your circuit by adding a `chip-cd54hct30` item to the `parts` section of diagram.json:
4054

4155
```json
4256
"parts": {
4357
...,
44-
{ "type": "chip-sn74ahct1g32", "id": "chip1" }
58+
{ "type": "chip-cd54hct30", "id": "chip1" }
4559
},
4660
```
4761

48-
For a complete example, see [The sn74ahct1g32 chip test project](https://wokwi.com/projects/398967433536335873).
62+
For a complete example, see [The cd54hct30 chip test project](https://wokwi.com/projects/398977400657873921).

0 commit comments

Comments
 (0)