digital-ide/script/test/svlogAll.js
2024-09-11 13:32:02 +08:00

8 lines
227 B
JavaScript

const { svAll } = require('../../resources/hdlParser');
const testFile = '../Digital-Test/svlog/user/src/hello.sv';
(async () => {
const all = await svAll(testFile);
console.log(JSON.stringify(all, null, ' '));
})();