Skip to content

Commit

Permalink
Add 8-bits ascii '\n' constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Apr 13, 2024
1 parent 17e6b1d commit 5b7aded
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 0 deletions.
174 changes: 174 additions & 0 deletions blocks/Bus/Bus-08/ASCII-nl.ice
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
{
"version": "1.2",
"package": {
"name": "8bits-ASCII_NL",
"version": "0.0.2",
"description": "8bits ASCII new line",
"author": "Juan Gonzalez-Gomez (Obijuan)",
"image": "%3Csvg%20width=%22327.217%22%20height=%22225.926%22%20viewBox=%220%200%20306.76641%20211.80517%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg%20style=%22line-height:0%25;-inkscape-font-specification:'Ubuntu%20Mono'%22%3E%3Cg%20style=%22line-height:1.25%22%20font-weight=%22400%22%20font-family=%22Ubuntu%20Mono%22%20letter-spacing=%220%22%20word-spacing=%220%22%20fill=%22green%22%3E%3Cpath%20d=%22M32.165%205.033v16.191q0%2010.503-1.75%2022.975-1.532%2012.472-3.502%2025.163H5.251Q2.844%2056.67%201.313%2044.199%200%2031.727%200%2021.005V5.033zM37.635%200h33.04l73.519%20211.805h-33.478zM154.04%2060.172q8.314-2.407%2021.443-4.376%2013.128-2.188%2027.57-2.188%2014.66%200%2024.287%203.938%209.846%203.72%2015.535%2010.722%205.69%207.002%208.096%2016.63%202.407%209.627%202.407%2021.442v64.986h-32.602v-61.047q0-15.754-4.157-22.319-4.158-6.564-15.536-6.564-3.5%200-7.44.438-3.938.219-7.001.656v88.836H154.04zm152.726-55.14v16.192q0%2010.503-1.75%2022.975-1.532%2012.472-3.501%2025.163h-21.662q-2.407-12.691-3.938-25.163-1.313-12.472-1.313-23.194V5.033z%22%20style=%22-inkscape-font-specification:'Ubuntu%20Bold';text-align:center%22%20font-weight=%22700%22%20font-size=%22218.807%22%20font-family=%22Ubuntu%22%20text-anchor=%22middle%22%20stroke-width=%227.146%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"
},
"design": {
"board": "alhambra-ii",
"graph": {
"blocks": [
{
"id": "56102125-3ee5-4ee9-94d5-e66dfcacb7de",
"type": "basic.output",
"data": {
"name": "",
"range": "[7:0]",
"size": 8
},
"position": {
"x": 896,
"y": 256
}
},
{
"id": "ad7918eb-22dd-4b6c-949f-e428f5a55530",
"type": "basic.constant",
"data": {
"name": "",
"value": "\"\\n\"",
"local": true
},
"position": {
"x": 728,
"y": 152
}
},
{
"id": "6db4f25e-c3b1-4cc1-b159-a918b9ce2f53",
"type": "ffc517ae50d4171640702dac38a546757cc9ae35",
"position": {
"x": 728,
"y": 256
},
"size": {
"width": 96,
"height": 64
}
}
],
"wires": [
{
"source": {
"block": "ad7918eb-22dd-4b6c-949f-e428f5a55530",
"port": "constant-out"
},
"target": {
"block": "6db4f25e-c3b1-4cc1-b159-a918b9ce2f53",
"port": "c0fb4784-5e8c-4f41-9f4b-6daa2e9e03a4"
}
},
{
"source": {
"block": "6db4f25e-c3b1-4cc1-b159-a918b9ce2f53",
"port": "b5ba4b9b-f5f9-4eb7-9faf-b362f0463917"
},
"target": {
"block": "56102125-3ee5-4ee9-94d5-e66dfcacb7de",
"port": "in"
},
"size": 8
}
]
}
},
"dependencies": {
"ffc517ae50d4171640702dac38a546757cc9ae35": {
"package": {
"name": "8-bits-gen-constant",
"version": "0.0.2",
"description": "Generic: 8-bits generic constant (0-255)",
"author": "Juan Gonzalez-Gomez (Obijuan)",
"image": "%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22145.608%22%20height=%22247.927%22%20viewBox=%220%200%20136.50729%20232.43134%22%3E%3Cg%20style=%22line-height:0%25;-inkscape-font-specification:'Ubuntu%20Mono'%22%3E%3Cpath%20d=%22M56.012%20146.905q9.055%206.708%2020.459%2017.105%2011.404%2010.062%2022.472%2021.8%2011.403%2011.74%2021.465%2024.15%2010.062%2012.074%2016.1%2022.471h-32.87q-6.372-10.397-15.763-21.13-9.392-11.068-20.124-21.13-10.398-10.062-21.13-18.447-10.398-8.385-18.783-14.087v74.794H0V4.695L27.838%200v141.874q18.447-16.1%2036.894-31.863%2018.447-16.1%2033.205-33.205h32.533q-14.422%2017.106-34.881%2035.217-20.124%2018.112-39.577%2034.882z%22%20style=%22line-height:1.25%22%20font-size=%22335.399%22%20font-weight=%22400%22%20font-family=%22Ubuntu%20Mono%22%20letter-spacing=%220%22%20word-spacing=%220%22%20fill=%22green%22/%3E%3C/g%3E%3C/svg%3E"
},
"design": {
"graph": {
"blocks": [
{
"id": "b5ba4b9b-f5f9-4eb7-9faf-b362f0463917",
"type": "basic.output",
"data": {
"name": "",
"range": "[7:0]",
"size": 8
},
"position": {
"x": 952,
"y": 248
}
},
{
"id": "c0fb4784-5e8c-4f41-9f4b-6daa2e9e03a4",
"type": "basic.constant",
"data": {
"name": "",
"value": "0",
"local": false
},
"position": {
"x": 728,
"y": 128
}
},
{
"id": "7dbe7521-0f9f-43ee-ab0c-0439e2c20bc2",
"type": "basic.code",
"data": {
"code": "assign k = VALUE;",
"params": [
{
"name": "VALUE"
}
],
"ports": {
"in": [],
"out": [
{
"name": "k",
"range": "[7:0]",
"size": 8
}
]
}
},
"position": {
"x": 672,
"y": 248
},
"size": {
"width": 208,
"height": 64
}
}
],
"wires": [
{
"source": {
"block": "c0fb4784-5e8c-4f41-9f4b-6daa2e9e03a4",
"port": "constant-out"
},
"target": {
"block": "7dbe7521-0f9f-43ee-ab0c-0439e2c20bc2",
"port": "VALUE"
}
},
{
"source": {
"block": "7dbe7521-0f9f-43ee-ab0c-0439e2c20bc2",
"port": "k"
},
"target": {
"block": "b5ba4b9b-f5f9-4eb7-9faf-b362f0463917",
"port": "in"
},
"size": 8
}
]
}
}
}
}
}
82 changes: 82 additions & 0 deletions icons/nl.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b7aded

Please sign in to comment.