From ccda8b3d4ff8eaf9e0f2214255fe8621b53e50e4 Mon Sep 17 00:00:00 2001 From: jojo535275 <65027759+jojo535275@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:36:02 +0100 Subject: [PATCH] Update compiler.js Mod to allow IOtype setting from verilog code on ECP5 boards --- app/scripts/services/compiler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/services/compiler.js b/app/scripts/services/compiler.js index 5b493325c..da6252e70 100644 --- a/app/scripts/services/compiler.js +++ b/app/scripts/services/compiler.js @@ -902,8 +902,8 @@ angular.module('icestudio') if (pullmode === 'UP' || pullmode === 'DOWN') { code += 'PULLMODE=' + pullmode; - } - code += ' IO_TYPE=LVCMOS33 DRIVE=4;\n\n'; + } + code += ' ;\n\n'; } } else if (block.data.pins.length > 0) { pin = block.data.pins[0]; @@ -925,7 +925,7 @@ angular.module('icestudio') if (pullmode === 'UP' || pullmode === 'DOWN') { code += 'PULLMODE=' + pullmode; } - code += ' IO_TYPE=LVCMOS33 DRIVE=4;\n\n'; + code += ' ;\n\n'; } } }