diff --git a/examples/TESTs/Uint/Uint8/01-bit/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/01-bit/Alhambra-II/01-Manual-testing.ice similarity index 94% rename from examples/TESTs/Uint/Uint8/01-bit/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/01-bit/Alhambra-II/01-Manual-testing.ice index ac5f1a24..19b1daaa 100644 --- a/examples/TESTs/Uint/Uint8/01-bit/Alhambra-II/01-Manual-testing.ice +++ b/examples/TESTs/Uint/Uint08/01-bit/Alhambra-II/01-Manual-testing.ice @@ -90,12 +90,12 @@ "id": "fd14ed5d-e91b-42a8-922f-414275d054bf", "type": "basic.info", "data": { - "info": "## Uint8-1bit: Manual testing", + "info": "## 01-Uint8: Manual testing", "readonly": true }, "position": { "x": 472, - "y": -72 + "y": -80 }, "size": { "width": 312, @@ -115,8 +115,8 @@ } }, { - "id": "fa3cbc2b-76c6-46d6-973c-ea3b2ed33ec1", - "type": "afb960b4a2769c4ecf3d6d40f4c013ced102376a", + "id": "5bcb30b2-91e6-4654-aa63-c3bf69a59e01", + "type": "532eb4ed516c51442e01ddbc7c24667d7578e93f", "position": { "x": 560, "y": 56 @@ -145,13 +145,13 @@ "port": "out" }, "target": { - "block": "fa3cbc2b-76c6-46d6-973c-ea3b2ed33ec1", - "port": "1ba31208-2dd3-414f-b5d2-6682a617bbbe" + "block": "5bcb30b2-91e6-4654-aa63-c3bf69a59e01", + "port": "418dea9f-f4c9-4a1f-8294-0f6c34e32f1d" } }, { "source": { - "block": "fa3cbc2b-76c6-46d6-973c-ea3b2ed33ec1", + "block": "5bcb30b2-91e6-4654-aa63-c3bf69a59e01", "port": "e0cb078e-5589-4f38-983f-ff5d02d74932" }, "target": { @@ -1372,11 +1372,11 @@ } } }, - "afb960b4a2769c4ecf3d6d40f4c013ced102376a": { + "532eb4ed516c51442e01ddbc7c24667d7578e93f": { "package": { - "name": "UINT8-1bit-verilog", - "version": "0.2", - "description": "UINT8-1bit-verilog: Extend a 1-bit unsigned integer to 8-bits. Verilog implementation ", + "name": "01-Uint08", + "version": "0.4", + "description": "01-Uint08: 1 bits unsigned integer extension to 8 bits. Verilog implementation", "author": "Juan González-Gómez (Obijuan)", "image": "%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22448.598%22%20height=%22127.811%22%20viewBox=%220%200%20118.69152%2033.816643%22%3E%3Cg%20style=%22line-height:1.25%22%20font-weight=%22700%22%20font-size=%2245.504%22%20font-family=%22sans-serif%22%20fill=%22green%22%20stroke-width=%221.138%22%3E%3Cpath%20d=%22M0%200h8.554v19.886q0%204.11%201.333%205.888%201.356%201.755%204.4%201.755%203.066%200%204.399-1.755%201.355-1.778%201.355-5.888V0h8.554v19.886q0%207.043-3.532%2010.487-3.533%203.444-10.776%203.444-7.221%200-10.754-3.444Q0%2026.929%200%2019.886zM36.972%200h8.554v33.172h-8.554zM53.947%200H63.5l12.064%2022.752V0h8.11v33.172h-9.554L62.056%2010.421v22.751h-8.11zM88.119%200h30.573v6.466h-10.999v26.706H99.14V6.466H88.12z%22%20style=%22-inkscape-font-specification:'sans-serif%20Bold'%22/%3E%3C/g%3E%3C/svg%3E", "otid": 1621785467119 @@ -1385,78 +1385,28 @@ "graph": { "blocks": [ { - "id": "1ba31208-2dd3-414f-b5d2-6682a617bbbe", - "type": "basic.input", + "id": "e0cb078e-5589-4f38-983f-ff5d02d74932", + "type": "basic.output", "data": { - "name": "i", - "virtual": true, - "pins": [ - { - "index": "0", - "name": "NULL", - "value": "NULL" - } - ], - "clock": false + "name": "", + "range": "[7:0]", + "size": 8 }, "position": { - "x": 352, - "y": 304 + "x": 952, + "y": 368 } }, { - "id": "e0cb078e-5589-4f38-983f-ff5d02d74932", - "type": "basic.output", + "id": "418dea9f-f4c9-4a1f-8294-0f6c34e32f1d", + "type": "basic.input", "data": { "name": "", - "virtual": true, - "range": "[7:0]", - "pins": [ - { - "index": "7", - "name": "NULL", - "value": "NULL" - }, - { - "index": "6", - "name": "NULL", - "value": "NULL" - }, - { - "index": "5", - "name": "NULL", - "value": "NULL" - }, - { - "index": "4", - "name": "NULL", - "value": "NULL" - }, - { - "index": "3", - "name": "NULL", - "value": "NULL" - }, - { - "index": "2", - "name": "NULL", - "value": "NULL" - }, - { - "index": "1", - "name": "NULL", - "value": "NULL" - }, - { - "index": "0", - "name": "NULL", - "value": "NULL" - } - ] + "size": 1 }, "position": { - "x": 920, - "y": 304 + "x": 336, + "y": 368 } }, { @@ -1466,7 +1416,8 @@ "ports": { "in": [ { - "name": "i" + "name": "i", + "size": 1 } ], "out": [ @@ -1478,29 +1429,19 @@ ] }, "params": [], - "code": "//-- Number of bits\nlocalparam N = 8;\n\n//-- Extend i with N-1 0s\nassign o = { {(N-1){1'b0}} , i};" + "code": "//-- Number of input bits\nlocalparam X = 1;\n\n//-- Number of output bits\nlocalparam N = 8;\n\n//-- zeros to add to the input\nwire zeros = {(N-X){1'b0}};\n\n//-- Extend the input with zeros\nassign o = { zeros , i};" }, "position": { "x": 504, "y": 272 }, "size": { - "width": 344, - "height": 120 + "width": 384, + "height": 248 } } ], "wires": [ - { - "source": { - "block": "1ba31208-2dd3-414f-b5d2-6682a617bbbe", - "port": "out" - }, - "target": { - "block": "060b73c2-8fae-4f64-8db2-c8335f464d4c", - "port": "i" - } - }, { "source": { "block": "060b73c2-8fae-4f64-8db2-c8335f464d4c", @@ -1511,6 +1452,17 @@ "port": "in" }, "size": 8 + }, + { + "source": { + "block": "418dea9f-f4c9-4a1f-8294-0f6c34e32f1d", + "port": "out" + }, + "target": { + "block": "060b73c2-8fae-4f64-8db2-c8335f464d4c", + "port": "i" + }, + "size": 1 } ] } diff --git a/examples/TESTs/Uint/Uint8/02-bits/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/02-bits/Alhambra-II/01-Manual-testing.ice similarity index 99% rename from examples/TESTs/Uint/Uint8/02-bits/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/02-bits/Alhambra-II/01-Manual-testing.ice index 7a026447..cb05bb88 100644 --- a/examples/TESTs/Uint/Uint8/02-bits/Alhambra-II/01-Manual-testing.ice +++ b/examples/TESTs/Uint/Uint08/02-bits/Alhambra-II/01-Manual-testing.ice @@ -90,7 +90,7 @@ "id": "fd14ed5d-e91b-42a8-922f-414275d054bf", "type": "basic.info", "data": { - "info": "## Uint8-2bit: Manual testing", + "info": "## 02-Uint8: Manual testing", "readonly": true }, "position": { diff --git a/examples/TESTs/Uint/Uint8/03-bits/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/03-bits/Alhambra-II/01-Manual-testing.ice similarity index 100% rename from examples/TESTs/Uint/Uint8/03-bits/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/03-bits/Alhambra-II/01-Manual-testing.ice diff --git a/examples/TESTs/Uint/Uint8/04-bits/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/04-bits/Alhambra-II/01-Manual-testing.ice similarity index 100% rename from examples/TESTs/Uint/Uint8/04-bits/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/04-bits/Alhambra-II/01-Manual-testing.ice diff --git a/examples/TESTs/Uint/Uint8/05-bits/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/05-bits/Alhambra-II/01-Manual-testing.ice similarity index 100% rename from examples/TESTs/Uint/Uint8/05-bits/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/05-bits/Alhambra-II/01-Manual-testing.ice diff --git a/examples/TESTs/Uint/Uint8/06-bits/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/06-bits/Alhambra-II/01-Manual-testing.ice similarity index 100% rename from examples/TESTs/Uint/Uint8/06-bits/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/06-bits/Alhambra-II/01-Manual-testing.ice diff --git a/examples/TESTs/Uint/Uint8/07-bits/Alhambra-II/01-Manual-testing.ice b/examples/TESTs/Uint/Uint08/07-bits/Alhambra-II/01-Manual-testing.ice similarity index 100% rename from examples/TESTs/Uint/Uint8/07-bits/Alhambra-II/01-Manual-testing.ice rename to examples/TESTs/Uint/Uint08/07-bits/Alhambra-II/01-Manual-testing.ice