On Thu, 4 Oct 2012, Robert PINSKER wrote:
My experience was that:
DebugFlag("Tube")
Did not generate a file debug/Tube.hh
Whereas
DebugFlag("tube")
DID generate a file debug/tube.hh.
I am assuming that this is because the name of the corresponding file in the
src tree was tube.hh not Tube.h
on but I can't think of another reason.
Robert.
-Original Message-
From: Nilay Vaish [mailto:ni...@cs.wisc.edu]
Sent: 03 October 2012 16:13
To: Robert PINSKER
Cc: gem5-users@gem5.org
Subject: Re: [gem5-users] error: ... is not a member of Debug
On Wed, 3 Oct 2012, Robert PINSKER wrote
On 03.10.2012 10:12, Nilay Vaish wrote:
> On Wed, 3 Oct 2012,
Robert PINSKER wrote:
>
>> Ah. I figured it out. For the benefit of
anyone else reading this: If I use the directive DebugFlag('Tube') it
doesn't generate anything because my source file is tube.hh not Tube.hh.
So I have to use Deb
On Wed, 3 Oct 2012, Robert PINSKER wrote:
Ah. I figured it out. For the benefit of anyone else reading this:
If I use the directive DebugFlag('Tube') it doesn't generate anything because
my source file is tube.hh not Tube.hh.
So I have to use DebugFlag('tube'). This means that the flag name I
TF statement must also be "tube" not "Tube".
Thanks again for your help.
Robert.
From: Robert PINSKER
Sent: 03 October 2012 10:54
To: 'nathanael.premill...@irisa.fr'
Cc: gem5-users@gem5.org
Subject: Re: [gem5-users] error: ... is not a member of Debug
Thanks Nath
Thanks Nathaniel. You were right that I hadn't put in the #include.
However, I now find that (although I do have the DebugFlag directive in the
SConscript file) it still isn't generating the debug/Tube.hh (or debug/tube.hh)
file.
I should point out that tube.cc and tube.hh are kept in src/dev/
Hi Robert,
You have to put an
#include "debug/Tube.hh"
in the file where you use the Tube debug flag. You also need to declare
the flag in one of the Sconscript file (I think the one in the directory
where you use it should be ok) with a
DebugFlag('Tube')
Thanks,
Nathanaël
Le 02/10/2012
Hi all
I've created my own variation of the default ARM Full System. This has a lot of
stuff hacked out but it also has one new device. This is like a heavily
simplified Uart, called a Tube.
Although as far as I can see, I've modelled the structure very closely on
Uart/Pl011 (not quite the sam