digital-ide/script/test/vhdlAll.js
2023-11-29 21:08:52 +08:00

9 lines
299 B
JavaScript

const { vhdlAll } = require('../../resources/hdlParser');
const testFile = '../Digital-Test/Verilog/dependence_test/test.vhd';
(async () => {
const all = await vhdlAll(testFile);
console.log(JSON.stringify(all, null, ' '));
console.log('number of symbols:', all.content.length);
})();