Comparing version 0.3.4 to 0.3.5
@@ -20,3 +20,6 @@ "use strict"; | ||
const inputFiles = projectInputFiles.filter((inputFile) => util_js_1.FILE_EXTENSIONS_HDL.includes(path_1.default.extname(inputFile).substring(1))); | ||
const outputFiles = [(0, target_js_1.getTargetFile)(target, `${family.architecture}.json`)]; | ||
const outputFiles = [ | ||
(0, target_js_1.getTargetFile)(target, `${family.architecture}.json`), | ||
(0, target_js_1.getTargetFile)(target, 'luts.yosys.json') | ||
]; | ||
const tool = 'yosys'; | ||
@@ -94,2 +97,8 @@ const commands = [...inputFiles.map((file) => `read_verilog -sv ${file}`), 'proc;']; | ||
`synth_${family.architecture} -json ${workerOptions.outputFiles[0]};`, | ||
'', | ||
'design -reset', | ||
'', | ||
`read_json ${(0, target_js_1.getTargetFile)(workerOptions.target, 'presynth.yosys.json')};`, | ||
'synth -lut 4;', | ||
`write_json ${workerOptions.outputFiles[1]};`, | ||
'' | ||
@@ -96,0 +105,0 @@ ]; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"contributors": [ | ||
@@ -8,0 +8,0 @@ "Danielle Huisman <danielle@huisman.me> (https://github.com/DanielleHuisman)", |
Sorry, the diff of this file is not supported yet
129472
2375