Skip to content

Commit

Permalink
L08: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Nov 11, 2024
1 parent 9159afe commit c310acd
Show file tree
Hide file tree
Showing 6 changed files with 45,985 additions and 23,736 deletions.
103 changes: 103 additions & 0 deletions wiki/L08/Examples/01-PWM-50hz-CT10.ice
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,25 @@
"y": 240
}
},
{
"id": "81efdcb9-4393-45d3-872d-1cc274123779",
"type": "basic.output",
"data": {
"name": "LED",
"pins": [
{
"index": "0",
"name": "LED1",
"value": "44"
}
],
"virtual": false
},
"position": {
"x": 1040,
"y": 344
}
},
{
"id": "47e64997-faa2-4a22-b5e0-af954b3d4a39",
"type": "basic.constant",
Expand Down Expand Up @@ -186,6 +205,18 @@
"width": 88,
"height": 40
}
},
{
"id": "c97ced52-e4e6-418f-b009-859918d0bd32",
"type": "febcfed8636b8ee9a98750b96ed9e53a165dd4a8",
"position": {
"x": 912,
"y": 344
},
"size": {
"width": 96,
"height": 64
}
}
],
"wires": [
Expand Down Expand Up @@ -263,6 +294,16 @@
"port": "3e38b363-c6bf-40cc-9483-3d88b8fa0bbe"
},
"size": 32
},
{
"source": {
"block": "c97ced52-e4e6-418f-b009-859918d0bd32",
"port": "3d584b0a-29eb-47af-8c43-c0822282ef05"
},
"target": {
"block": "81efdcb9-4393-45d3-872d-1cc274123779",
"port": "in"
}
}
]
}
Expand Down Expand Up @@ -7521,6 +7562,68 @@
]
}
}
},
"febcfed8636b8ee9a98750b96ed9e53a165dd4a8": {
"package": {
"name": "bit-1",
"version": "0.2",
"description": "Constant bit 1",
"author": "Jesus Arroyo",
"image": "%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2289.79%22%20height=%22185.093%22%20viewBox=%220%200%2084.179064%20173.52585%22%3E%3Cpath%20d=%22M7.702%2032.42L49.972%200l34.207%207.725-27.333%20116.736-26.607-6.01L51.26%2025.273%2020.023%2044.2z%22%20fill=%22green%22%20fill-rule=%22evenodd%22/%3E%3Cpath%20d=%22M46.13%20117.28l21.355%2028.258-17.91%2021.368%206.198%205.513m-14.033-54.45l-12.4%2028.26-28.242%205.512%202.067%208.959%22%20fill=%22none%22%20stroke=%22green%22%20stroke-width=%222.196%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"
},
"design": {
"graph": {
"blocks": [
{
"id": "3d584b0a-29eb-47af-8c43-c0822282ef05",
"type": "basic.output",
"data": {
"name": ""
},
"position": {
"x": 456,
"y": 120
}
},
{
"id": "61331ec5-2c56-4cdd-b607-e63b1502fa65",
"type": "basic.code",
"data": {
"code": "//-- Constant bit-1\nassign q = 1'b1;\n\n",
"params": [],
"ports": {
"in": [],
"out": [
{
"name": "q"
}
]
}
},
"position": {
"x": 168,
"y": 112
},
"size": {
"width": 248,
"height": 80
}
}
],
"wires": [
{
"source": {
"block": "61331ec5-2c56-4cdd-b607-e63b1502fa65",
"port": "q"
},
"target": {
"block": "3d584b0a-29eb-47af-8c43-c0822282ef05",
"port": "in"
}
}
]
}
}
}
}
}
Loading

0 comments on commit c310acd

Please sign in to comment.