byuccl / digital_design_colab

Digital Design Colab Examples
5 stars 2 forks source link

Fixed issue with LUX and MUX lesson #102

Closed NyloxtheBard closed 9 months ago

NyloxtheBard commented 10 months ago

Fixed the issue where the get_data function for the create_frq_dictionary(get_data))was being overwritten by the first dictionary create_mc_dict(get_data()), and added question 5 to the file as it wasn't being called

import_text("Exercises/luts_and_mux/files/", "frq_luts_mux.py")
import_text("Exercises/luts_and_mux/files/", "mc_luts_mux.py")
import_text("Templates/", "mcTemplate.py")
import_text("Templates/", "frqTemplate.py")

from mc_luts_mux import *

from mcTemplate import * 
create_mc_dict(get_data())

from frq_luts_mux import *

from frqTemplate import * 
create_frq_dictionary(get_data())

Fixed #97