bluespec.com Forum Index bluespec.com
Bluespec Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unbound constructor error

 
Post new topic   Reply to topic    bluespec.com Forum Index -> Designing with BSV's Rules, Interfaces, ...
View previous topic :: View next topic  
Author Message
RAMA RAJAN ATHISESHAN



Joined: 15 Jul 2011
Posts: 4

PostPosted: Sat Jul 16, 2011 4:23 am    Post subject: unbound constructor error Reply with quote

i am new to bluespec. i tried to design a IIR 2nd order filter. as first i tried to run simple assigning logic on register. I didnt use any enum in my program. when i tried to run my test bench its gives Unbound constructor error. what it means? how can i rectify this?


module mkIIRFilter (Myfilter_ifc);
Reg#(Tout) y <- mkReg(0);
Reg#(Tout) x <- mkReg(0);
Reg#(Tout) x_reg <- mkReg(0);
Reg#(Tout) x_z1 <- mkReg(0);
Reg#(Tout) x_z2 <- mkReg(0);
Reg#(Tout) y_z1 <- mkReg(0);
Reg#(Tout) y_z2 <- mkReg(0);
Reg#(Tout) y_tmp <- mkReg(0);
Reg#(Tout) m1 <- mkReg(0);
Reg#(Tout) m2 <- mkReg(0);
Reg#(Tout) m3 <- mkReg(0);
Reg#(Tout) m4 <- mkReg(0);
Reg#(Tout) m5 <- mkReg(0);

///// --------------- like that i initialised....

///////------------- in test bench,
module mkTbFilter(Empty);
Reg#(int) state <- mkReg(0);
Myfilter_ifc filter1 <- mkFilter;
////////////// ------------------------------ is it right way?

Error: "TbMyfilter.bsv", line 8, column 1: (T0007)
Unbound type constructor `Myfilter_ifc'
Typecheck finished
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    bluespec.com Forum Index -> Designing with BSV's Rules, Interfaces, ... All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
bluespec.com topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP