From c99f5aa4e6aeef4bd9840d87598f4153cc9f306a Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 8 Jul 2021 20:54:12 +0200 Subject: [PATCH] main: update to pass device type and prog type to altera class --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 88b8b15..0b2d0fa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -366,7 +366,7 @@ int main(int argc, char **argv) args.prg_type, args.fpga_part, args.verify, args.verbose); } else if (fab == "altera") { fpga = new Altera(jtag, args.bit_file, args.file_type, - args.verify, args.verbose); + args.prg_type, args.fpga_part, args.verify, args.verbose); } else if (fab == "anlogic") { fpga = new Anlogic(jtag, args.bit_file, args.file_type, args.prg_type, args.verify, args.verbose);