digital-ide/script/test/svlogAll.js
2024-09-22 21:44:04 +08:00

8 lines
216 B
JavaScript

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