Problem with logic array in DataMem File and RegisterFile. Error: type 'Port' is not a subtype of type 'int' DataMem: https://github.com/eulere28/single-cycle-cpu/blob/main/lib/DataMem.dart Register: https://github.com/eulere28/single-cycle-cpu/blob/main/lib/RegisterFile.dart
Problem with logic array in DataMem File and RegisterFile.
Error: type 'Port' is not a subtype of type 'int'
DataMem: https://github.com/eulere28/single-cycle-cpu/blob/main/lib/DataMem.dart
Register: https://github.com/eulere28/single-cycle-cpu/blob/main/lib/RegisterFile.dart