////////////////////////////////////////////////////////////////////////////////
///
/// Template for LSU EE 4702-1 Spring 2001 Homework 1
///
/// Name:
/// Instructions:
//
// Copy this to a file named hw01sol.v to directory ~/hw in your
// class account. (~ is your home directory.) Use this
// file for your solution. Your entire solution should be in
// this file.
//
// Do not rename the modules in this file and be sure to use the
// directory and filename given above.
////////////////////////////////////////////////////////////////////////////////
module welcome();
initial begin
$display("Okay, you got the simulator working.");
$display("Celebrate, then go on to problem 2.");
end
endmodule
module priority_encoder_1_es(grant,found_out,request,found_in);
output grant, found_out;
input request, found_in;
// Insert code here and delete this comment.
endmodule
module priority_encoder_1_is(grant, found_out, request, found_in);
input request, found_in;
output grant, found_out;
// Insert code here and delete this comment.
endmodule
module priority_encoder_1_b(grant,found_out,request,found_in);
output grant, found_out;
input request, found_in;
// Insert code here and delete this comment.
endmodule
module test_pe(done, okay_b, okay_is, okay_es);
output done, okay_b, okay_is, okay_es;
// Insert code here and delete this comment.
// The final version should not call $stop. It is a
// good idea to call $stop while debugging. (Call stop
// when an error condition is detected, then look at the
// variable and wave windows to figure out what's wrong.)
endmodule