Skip to content

Commit 78c6989

Browse files
committed
[Odin-II]: treat input Verilog Header files as Verilog
Signed-off-by: Seyed Alireza Damghani <sdamghan@unb.ca>
1 parent cc5dc35 commit 78c6989

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ODIN_II/SRC/GenericReader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ inline void* GenericReader::_read() {
4545
void* netlist = NULL;
4646

4747
switch (configuration.input_file_type) {
48-
case (file_type_e::_VERILOG): {
48+
case (file_type_e::_VERILOG): // fallthrough
49+
case (file_type_e::_VERILOG_HEADER): {
4950
netlist = this->read_verilog();
5051
break;
5152
}

0 commit comments

Comments
 (0)