Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Have you used the profiler to determine where Matlab is spending most of its execution time?
Do you have access to the parallel processing toolbox?
Can you compile some portions of your model into MEX?
What you are trying to do is possible, but not the way your approaching it.
The problem with your code is the `define A (SEL==1'b0) & `ifdef statements are evaluated during compile time and not run time.
I'd recommend using parameters & generate statements.
Are you just going to keep asking over & over till you get the answer you'd like? Mathworks has this thing called licensing, so if you don't have a valid license you won't be able to utilize the toolbox. In short, if you need it that bad, go buy it.
My initial thoughts are to divide x down by 2 until it is on the range of [0, 1]. So you're computing y = (2^n)^m, where x = m*n and m is a power of 2, and n is on the range of [0, 1]. You can then do a LUT or a linear interpolation to compute v = 2^n. Take v and multiply it by itself m...
Tried it with both 2008.09-SP1 & 2010.03-SP4 with no errors.
---------- Post added at 18:47 ---------- Previous post was at 18:14 ----------
I looked into it & it's because your internal signal names really don't do anything. They just get pseudo-buffered via the assign statements, so DC is...
This has worked for me in the past, but I haven't tried it lately or with the latest version of Design Compiler. I'm assuming you're using Design Compiler. Try placing this in your RTL:
// synopsys dc_script_begin
// set_dont_touch mem_read_data_r
// set_dont_touch mem_read_data_valid_r
//...
Not necessarily. In the link in the first post it shows two code snippets: one coded with reg & one coded with wire, but both produce the same behavior. In that case it really comes down to coding style; preference and/or readability on which one to use. Also you may see a slight simulator...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.