Skip to content

Commit

Permalink
fix: Lab3 alu (#27)
Browse files Browse the repository at this point in the history
* fix: lab naming of the tasks and xdc files

* fix: lab 3 led7

* fix: alu
  • Loading branch information
sdcioc authored Oct 23, 2024
1 parent 23c93c8 commit d9f8c55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chapters/verilog/behavioral/drills/tasks/alu/alu.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module task2 #(
module alu #(
parameter p_width = 4
) (
output wire [((2*p_width)-1):0] o_w_out,
Expand Down
10 changes: 5 additions & 5 deletions chapters/verilog/behavioral/drills/tasks/alu/tcl_files/build.tcl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
create_project build build_project -part xc7a100tcsg324-1 -force
import_files -force -fileset sources_1 -norecurse adder.v task2.v ../multiplier/multiplier.v
import_files -force -fileset sim_1 -norecurse test_task2.v
import_files -force -fileset constrs_1 -norecurse task2.xdc
set_property top task2 [get_fileset sources_1]
set_property top test_task2 [get_fileset sim_1]
import_files -force -fileset sources_1 -norecurse adder.v alu.v ../multiplier/multiplier.v
import_files -force -fileset sim_1 -norecurse test_alu.v
import_files -force -fileset constrs_1 -norecurse alu.xdc
set_property top alu [get_fileset sources_1]
set_property top test_alu [get_fileset sim_1]
update_compile_order -fileset sources_1
update_compile_order -fileset sim_1

0 comments on commit d9f8c55

Please sign in to comment.