<ccube>
yeah, i probably do not understand what i am doing here
<ccube>
what is oe for?
<ysionneau>
output enable
<ccube>
:)
<ysionneau>
it's to switch the tristate into output mode
<ccube>
okay, this explains why its not working...
<ccube>
i gonna try! thanx ysionneau
<ysionneau>
looking at the generated verilog can also help
<ysionneau>
but it seems you are trying to have at the same time part of the tristate bus in input and part of it in output mode
<ysionneau>
I don't think this is supported
<ccube>
ah
<ysionneau>
the output enable is for the entire bus, not per-bit
<ccube>
yeah i am just realizing this
<ccube>
so when output is enabled, i cannot red?
<ccube>
*read
<ysionneau>
I think you cannot
<ysionneau>
it must be translated into an IOBUF primitive I think, have a look
<ccube>
yeah, i need a method to read and write from/to pins
<ysionneau>
12:04 < ysionneau> I think you cannot < or more precisely, maybe what you will read is your output value, but need to check
<ysionneau>
but about the granularity issue, you can just instantiate flen(io) TSTriple, instead of one for the entire bus
<ysionneau>
then you will get the "bit" granularity
<ccube>
ok, so what i actually want to do is configuring all 48 io pins at runtime to particular functionality, some might be I, some I, some IO
<ccube>
(some O)
<ccube>
creating 48 TSTriple objects sounds not like the most elegant solution
<ysionneau>
well, if you know that some pins are going to be input at the same time (or output), yes you can just do groups
<ccube>
yeah, but i do not know which pins
<ccube>
it might be that A:12 is an O pin, but also could be an I pin
<ccube>
so which group should it be in? :)
<ysionneau>
ah yes runtime
<ysionneau>
sorry
<ysionneau>
well, I don't see how you can achieve that without creating as many TSTriple as io pins then
<ysionneau>
you can use arrays or list you know ...
<ccube>
yeah
<ccube>
gonna try that out
<ccube>
and continue playing around :)
<ccube>
thanks buddy!
<ysionneau>
np!
aeris_ has quit [Quit: en a pas]
aeris_ has joined #m-labs
aeris_ has quit [Ping timeout: 251 seconds]
aeris_ has joined #m-labs
sb0 has joined #m-labs
balrog has quit [Ping timeout: 246 seconds]
balrog has joined #m-labs
balrog_ has joined #m-labs
balrog has quit [Ping timeout: 245 seconds]
balrog_ is now known as balrog
sb0 has quit [Quit: Leaving]
<ysionneau>
sb0 : it seems sphinx does not handle the %(default) of the help string in the argparser :/
<ysionneau>
it prints literaly "%(default)" in the documentation
<ysionneau>
sphinx-argparse*
antgreen has quit [Ping timeout: 272 seconds]
<GitHub102>
[artiq] jordens pushed 1 new commit to master: http://git.io/jvFi
<GitHub102>
artiq/master a6316c8 Robert Jordens: faq: clarifications
<rjo>
ysionneau: does it really help to have the cli tools' options represented in the manual? if you have a tool in front of you, would you not rather just do `tool -h` to get help instead of digging out the manual?
travis-ci has joined #m-labs
<travis-ci>
m-labs/artiq#69 (master - a6316c8 : Robert Jordens): The build passed.